#F0D77A#F0D77A

#F0D77A is a very light, moderate yellow. Relative luminance 0.685; OKLCH L 88.1% C 0.117 H 94.7°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#F0D77A
RGBrgb(240, 215, 122)
HSLhsl(47, 80%, 71%)
HSVhsv(47, 49%, 94%)
CMYKcmyk(0%, 10.4%, 49.2%, 5.9%)
CIE-LABlab(86.27, -3.16, 48.73)
CIE-LCHlch(86.27, 48.83, 93.71°)
OKLaboklab(88.06% -0.0096 0.1163)
OKLCHoklch(88.06% 0.117 94.7)
XYZxyz(63.7505, 68.5339, 28.2789)
Luminance0.6853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D77A #7A93F0
analogous
#F09C7A #F0D77A #CEF07A
triadic
#F0D77A #7AF0D7 #D77AF0
tetradic
#F0D77A #7AF09C #7A93F0 #F07ACE
square
#F0D77A #7AF09C #7A93F0 #F07ACE
split-complementary
#F0D77A #7ACEF0 #9C7AF0
monochromatic
#D7AF18 #EAC643 #F0D77A #F6E8B1 #FCF7E4

Accessibility & contrast

On white

1.43
#F0D77A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#F0D77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D77A
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D77A#FFFFFF#000000##000000
##F0D77A1.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D372
Deuteranopia (green-blind)
#EFDB7E
Tritanopia (blue-blind)
#FFCAC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f0d77a;
/* rgb */ color: rgb(240, 215, 122);
/* oklch */ color: oklch(88.1% 0.117 94.7);
Tailwind
colors: {
  custom: {
    50: '#f7e3a2',
    500: '#f0d77a',
    950: '#000000',
  },
}
SCSS
$custom: #f0d77a;
$custom-light: #f7e3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d77a",
  "rgb": {
    "r": 240,
    "g": 215,
    "b": 122
  },
  "hsl": {
    "h": 47.288,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.88062,
    "c": 0.11674,
    "h": 94.7
  },
  "luminance": 0.68531
}

Semantic roles & 50–950 ramp

primary
#F0D77A
secondary
#4461CA
accent
#36DC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0D77A

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

Preview Lab → · Contrast checker → · Palette generator →

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