#F0DB77#F0DB77

#F0DB77 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.8% C 0.123 H 97.7°. Best body text is #000000 at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#F0DB77
RGBrgb(240, 219, 119)
HSLhsl(50, 80%, 70%)
HSVhsv(50, 50%, 94%)
CMYKcmyk(0%, 8.8%, 50.4%, 5.9%)
CIE-LABlab(87.25, -5.45, 51.36)
CIE-LCHlch(87.25, 51.65, 96.05°)
OKLaboklab(88.83% -0.0166 0.1219)
OKLCHoklch(88.83% 0.123 97.7)
XYZxyz(64.5985, 70.5227, 27.6587)
Luminance0.7052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB77 #778CF0
analogous
#F09F77 #F0DB77 #C8F077
triadic
#F0DB77 #77F0DB #DB77F0
tetradic
#F0DB77 #77F09F #778CF0 #F077C8
square
#F0DB77 #77F09F #778CF0 #F077C8
split-complementary
#F0DB77 #77C8F0 #9F77F0
monochromatic
#D5B418 #EACC40 #F0DB77 #F6EAAE #FCF8E3

Accessibility & contrast

On white

1.39
#F0DB77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.10
#F0DB77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB77
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB77#FFFFFF#000000##000000
##F0DB771.001.3915.1015.10
#FFFFFF1.391.0021.0021.00
#00000015.1021.001.001.00
##00000015.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66E
Deuteranopia (green-blind)
#F2DE7B
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0db77;
/* rgb */ color: rgb(240, 219, 119);
/* oklch */ color: oklch(88.8% 0.123 97.7);
Tailwind
colors: {
  custom: {
    50: '#f7e5a0',
    500: '#f0db77',
    950: '#000000',
  },
}
SCSS
$custom: #f0db77;
$custom-light: #f7e5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db77",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 119
  },
  "hsl": {
    "h": 49.587,
    "s": 80.132,
    "l": 70.392
  },
  "oklch": {
    "l": 0.88826,
    "c": 0.12302,
    "h": 97.7
  },
  "luminance": 0.7052
}

Semantic roles & 50–950 ramp

primary
#F0DB77
secondary
#4259CA
accent
#2EDC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0DB77

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

Preview Lab → · Contrast checker → · Palette generator →

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