#F0D377#F0D377

#F0D377 is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 87.2% C 0.117 H 92.3°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#F0D377
RGBrgb(240, 211, 119)
HSLhsl(46, 80%, 70%)
HSVhsv(46, 50%, 94%)
CMYKcmyk(0%, 12.1%, 50.4%, 5.9%)
CIE-LABlab(85.22, -1.38, 48.91)
CIE-LCHlch(85.22, 48.93, 91.61°)
OKLaboklab(87.22% -0.0048 0.1165)
OKLCHoklch(87.22% 0.117 92.3)
XYZxyz(62.5614, 66.4485, 26.9797)
Luminance0.6645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D377 #7794F0
analogous
#F09677 #F0D377 #D0F077
triadic
#F0D377 #77F0D3 #D377F0
tetradic
#F0D377 #77F096 #7794F0 #F077D0
square
#F0D377 #77F096 #7794F0 #F077D0
split-complementary
#F0D377 #77D0F0 #9677F0
monochromatic
#D5A818 #EAC140 #F0D377 #F6E5AE #FCF6E3

Accessibility & contrast

On white

1.47
#F0D377 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#F0D377 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D377
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D377#FFFFFF#000000##000000
##F0D3771.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06F
Deuteranopia (green-blind)
#ECD97B
Tritanopia (blue-blind)
#FFC6BD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f0d377;
/* rgb */ color: rgb(240, 211, 119);
/* oklch */ color: oklch(87.2% 0.117 92.3);
Tailwind
colors: {
  custom: {
    50: '#f7e0a0',
    500: '#f0d377',
    950: '#000000',
  },
}
SCSS
$custom: #f0d377;
$custom-light: #f7e0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d377",
  "rgb": {
    "r": 240,
    "g": 211,
    "b": 119
  },
  "hsl": {
    "h": 45.62,
    "s": 80.132,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87223,
    "c": 0.1166,
    "h": 92.3
  },
  "luminance": 0.66446
}

Semantic roles & 50–950 ramp

primary
#F0D377
secondary
#4262CA
accent
#3CDC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0D377

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

Preview Lab → · Contrast checker → · Palette generator →

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