#FAF565#FAF565

#FAF565 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.8% C 0.163 H 107.3°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#FAF565
RGBrgb(250, 245, 101)
HSLhsl(58, 94%, 69%)
HSVhsv(58, 60%, 98%)
CMYKcmyk(0%, 2%, 59.6%, 2%)
CIE-LABlab(94.56, -15.67, 67.98)
CIE-LCHlch(94.56, 69.77, 102.98°)
OKLaboklab(94.77% -0.0483 0.1556)
OKLCHoklch(94.77% 0.163 107.3)
XYZxyz(74.4281, 86.5707, 25.0986)
Luminance0.8657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF565 #656AFA
analogous
#FAAB65 #FAF565 #B5FA65
triadic
#FAF565 #65FAF5 #F565FA
tetradic
#FAF565 #65FAAB #656AFA #FA65B5
square
#FAF565 #65FAAB #656AFA #FA65B5
split-complementary
#FAF565 #65B5FA #AB65FA
monochromatic
#DDD607 #F8F12A #FAF565 #FCF9A0 #FEFDDC

Accessibility & contrast

On white

1.15
#FAF565 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.31
#FAF565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF565
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF565#FFFFFF#000000##000000
##FAF5651.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC54
Deuteranopia (green-blind)
#FFF26D
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #faf565;
/* rgb */ color: rgb(250, 245, 101);
/* oklch */ color: oklch(94.8% 0.163 107.3);
Tailwind
colors: {
  custom: {
    50: '#fff896',
    500: '#faf565',
    950: '#000000',
  },
}
SCSS
$custom: #faf565;
$custom-light: #fff896;
$custom-dark: #000000;
JSON
{
  "hex": "#faf565",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 101
  },
  "hsl": {
    "h": 57.987,
    "s": 93.711,
    "l": 68.824
  },
  "oklch": {
    "l": 0.94766,
    "c": 0.16293,
    "h": 107.3
  },
  "luminance": 0.86568
}

Semantic roles & 50–950 ramp

primary
#FAF565
secondary
#2F35D4
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF565

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#FAF565 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva