#F0DC77#F0DC77

#F0DC77 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 89.0% C 0.124 H 98.4°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#F0DC77
RGBrgb(240, 220, 119)
HSLhsl(50, 80%, 70%)
HSVhsv(50, 50%, 94%)
CMYKcmyk(0%, 8.3%, 50.4%, 5.9%)
CIE-LABlab(87.51, -5.95, 51.66)
CIE-LCHlch(87.51, 52.01, 96.57°)
OKLaboklab(89.03% -0.018 0.1226)
OKLCHoklch(89.03% 0.124 98.4)
XYZxyz(64.8602, 71.0460, 27.7459)
Luminance0.7104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC77 #778BF0
analogous
#F0A077 #F0DC77 #C7F077
triadic
#F0DC77 #77F0DC #DC77F0
tetradic
#F0DC77 #77F0A0 #778BF0 #F077C7
square
#F0DC77 #77F0A0 #778BF0 #F077C7
split-complementary
#F0DC77 #77C7F0 #A077F0
monochromatic
#D5B618 #EACE40 #F0DC77 #F6EAAE #FCF8E3

Accessibility & contrast

On white

1.38
#F0DC77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.21
#F0DC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DC77
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DC77#FFFFFF#000000##000000
##F0DC771.001.3815.2115.21
#FFFFFF1.381.0021.0021.00
#00000015.2121.001.001.00
##00000015.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD76E
Deuteranopia (green-blind)
#F3DE7B
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dc77;
/* rgb */ color: rgb(240, 220, 119);
/* oklch */ color: oklch(89.0% 0.124 98.4);
Tailwind
colors: {
  custom: {
    50: '#f7e6a0',
    500: '#f0dc77',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc77;
$custom-light: #f7e6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc77",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 119
  },
  "hsl": {
    "h": 50.083,
    "s": 80.132,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89028,
    "c": 0.12389,
    "h": 98.4
  },
  "luminance": 0.71044
}

Semantic roles & 50–950 ramp

primary
#F0DC77
secondary
#4258CA
accent
#2CDC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0DC77

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

Preview Lab → · Contrast checker → · Palette generator →

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