#F0D577#F0D577

#F0D577 is a very light, moderate yellow. Relative luminance 0.674; OKLCH L 87.6% C 0.118 H 93.8°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#F0D577
RGBrgb(240, 213, 119)
HSLhsl(47, 80%, 70%)
HSVhsv(47, 50%, 94%)
CMYKcmyk(0%, 11.2%, 50.4%, 5.9%)
CIE-LABlab(85.73, -2.40, 49.52)
CIE-LCHlch(85.73, 49.58, 92.77°)
OKLaboklab(87.62% -0.0077 0.1179)
OKLCHoklch(87.62% 0.118 93.8)
XYZxyz(63.0614, 67.4484, 27.1463)
Luminance0.6745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D577 #7792F0
analogous
#F09977 #F0D577 #CEF077
triadic
#F0D577 #77F0D5 #D577F0
tetradic
#F0D577 #77F099 #7792F0 #F077CE
square
#F0D577 #77F099 #7792F0 #F077CE
split-complementary
#F0D577 #77CEF0 #9977F0
monochromatic
#D5AB18 #EAC440 #F0D577 #F6E6AE #FCF6E3

Accessibility & contrast

On white

1.45
#F0D577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.49
#F0D577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D577
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D577#FFFFFF#000000##000000
##F0D5771.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D26F
Deuteranopia (green-blind)
#EDDA7B
Tritanopia (blue-blind)
#FFC8BF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f0d577;
/* rgb */ color: rgb(240, 213, 119);
/* oklch */ color: oklch(87.6% 0.118 93.8);
Tailwind
colors: {
  custom: {
    50: '#f7e1a0',
    500: '#f0d577',
    950: '#000000',
  },
}
SCSS
$custom: #f0d577;
$custom-light: #f7e1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d577",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 119
  },
  "hsl": {
    "h": 46.612,
    "s": 80.132,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87622,
    "c": 0.1181,
    "h": 93.8
  },
  "luminance": 0.67446
}

Semantic roles & 50–950 ramp

primary
#F0D577
secondary
#4260CA
accent
#38DC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0D577

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

Preview Lab → · Contrast checker → · Palette generator →

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