#F9DA7B#F9DA7B

#F9DA7B is a very light, moderate yellow. Relative luminance 0.717; OKLCH L 89.5% C 0.120 H 91.8°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#F9DA7B
RGBrgb(249, 218, 123)
HSLhsl(45, 91%, 73%)
HSVhsv(45, 51%, 98%)
CMYKcmyk(0%, 12.4%, 50.6%, 2.4%)
CIE-LABlab(87.83, -0.98, 50.32)
CIE-LCHlch(87.83, 50.33, 91.12°)
OKLaboklab(89.48% -0.0037 0.1198)
OKLCHoklch(89.48% 0.12 91.8)
XYZxyz(67.7159, 71.7157, 29.0107)
Luminance0.7171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DA7B #7B9AF9
analogous
#F99B7B #F9DA7B #D9F97B
triadic
#F9DA7B #7BF9DA #DA7BF9
tetradic
#F9DA7B #7BF99B #7B9AF9 #F97BD9
square
#F9DA7B #7BF99B #7B9AF9 #F97BD9
split-complementary
#F9DA7B #7BD9F9 #9B7BF9
monochromatic
#EFB70B #F6CA40 #F9DA7B #FCEAB6 #FEF7E2

Accessibility & contrast

On white

1.37
#F9DA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#F9DA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DA7B
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DA7B#FFFFFF#000000##000000
##F9DA7B1.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD773
Deuteranopia (green-blind)
#F4E07F
Tritanopia (blue-blind)
#FFCDC4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f9da7b;
/* rgb */ color: rgb(249, 218, 123);
/* oklch */ color: oklch(89.5% 0.120 91.8);
Tailwind
colors: {
  custom: {
    50: '#fee5a3',
    500: '#f9da7b',
    950: '#000000',
  },
}
SCSS
$custom: #f9da7b;
$custom-light: #fee5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9da7b",
  "rgb": {
    "r": 249,
    "g": 218,
    "b": 123
  },
  "hsl": {
    "h": 45.238,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.89484,
    "c": 0.11988,
    "h": 91.8
  },
  "luminance": 0.71713
}

Semantic roles & 50–950 ramp

primary
#F9DA7B
secondary
#4367D6
accent
#38E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F9DA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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