#FAF672#FAF672

#FAF672 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.1% C 0.153 H 107.4°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#FAF672
RGBrgb(250, 246, 114)
HSLhsl(58, 93%, 71%)
HSVhsv(58, 54%, 98%)
CMYKcmyk(0%, 1.6%, 54.4%, 2%)
CIE-LABlab(94.93, -15.25, 62.84)
CIE-LCHlch(94.93, 64.66, 103.64°)
OKLaboklab(95.1% -0.0458 0.1462)
OKLCHoklch(95.1% 0.153 107.4)
XYZxyz(75.4195, 87.4526, 28.8235)
Luminance0.8745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF672 #7276FA
analogous
#FAB272 #FAF672 #BAFA72
triadic
#FAF672 #72FAF6 #F672FA
tetradic
#FAF672 #72FAB2 #7276FA #FA72BA
square
#FAF672 #72FAB2 #7276FA #FA72BA
split-complementary
#FAF672 #72BAFA #B272FA
monochromatic
#E9E308 #F8F237 #FAF672 #FCFAAD #FEFDE1

Accessibility & contrast

On white

1.14
#FAF672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.49
#FAF672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF672
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF672#FFFFFF#000000##000000
##FAF6721.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED65
Deuteranopia (green-blind)
#FFF379
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf672;
/* rgb */ color: rgb(250, 246, 114);
/* oklch */ color: oklch(95.1% 0.153 107.4);
Tailwind
colors: {
  custom: {
    50: '#fff99e',
    500: '#faf672',
    950: '#000000',
  },
}
SCSS
$custom: #faf672;
$custom-light: #fff99e;
$custom-dark: #000000;
JSON
{
  "hex": "#faf672",
  "rgb": {
    "r": 250,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 58.235,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95101,
    "c": 0.15317,
    "h": 107.4
  },
  "luminance": 0.8745
}

Semantic roles & 50–950 ramp

primary
#FAF672
secondary
#3B3FD6
accent
#07E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF672

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

Preview Lab → · Contrast checker → · Palette generator →

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