#FAF76B#FAF76B

#FAF76B is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.2% C 0.160 H 107.9°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#FAF76B
RGBrgb(250, 247, 107)
HSLhsl(59, 93%, 70%)
HSVhsv(59, 57%, 98%)
CMYKcmyk(0%, 1.2%, 57.2%, 2%)
CIE-LABlab(95.12, -16.24, 66.09)
CIE-LCHlch(95.12, 68.05, 103.81°)
OKLaboklab(95.23% -0.0493 0.1523)
OKLCHoklch(95.23% 0.16 107.9)
XYZxyz(75.3412, 87.9092, 26.9065)
Luminance0.8791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF76B #6B6EFA
analogous
#FAAF6B #FAF76B #B6FA6B
triadic
#FAF76B #6BFAF7 #F76BFA
tetradic
#FAF76B #6BFAAF #6B6EFA #FA6BB6
square
#FAF76B #6BFAAF #6B6EFA #FA6BB6
split-complementary
#FAF76B #6BB6FA #AF6BFA
monochromatic
#E3DE08 #F8F430 #FAF76B #FCFAA6 #FEFDE1

Accessibility & contrast

On white

1.13
#FAF76B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.58
#FAF76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF76B
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF76B#FFFFFF#000000##000000
##FAF76B1.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5C
Deuteranopia (green-blind)
#FFF373
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #faf76b;
/* rgb */ color: rgb(250, 247, 107);
/* oklch */ color: oklch(95.2% 0.160 107.9);
Tailwind
colors: {
  custom: {
    50: '#fff99a',
    500: '#faf76b',
    950: '#000000',
  },
}
SCSS
$custom: #faf76b;
$custom-light: #fff99a;
$custom-dark: #000000;
JSON
{
  "hex": "#faf76b",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 107
  },
  "hsl": {
    "h": 58.741,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.95234,
    "c": 0.1601,
    "h": 107.9
  },
  "luminance": 0.87907
}

Semantic roles & 50–950 ramp

primary
#FAF76B
secondary
#3538D5
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF76B

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

Preview Lab → · Contrast checker → · Palette generator →

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