#F0D774#F0D774

#F0D774 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 88.0% C 0.123 H 95.5°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#F0D774
RGBrgb(240, 215, 116)
HSLhsl(48, 81%, 70%)
HSVhsv(48, 52%, 94%)
CMYKcmyk(0%, 10.4%, 51.7%, 5.9%)
CIE-LABlab(86.20, -3.67, 51.53)
CIE-LCHlch(86.20, 51.66, 94.08°)
OKLaboklab(87.98% -0.0117 0.122)
OKLCHoklch(87.98% 0.123 95.5)
XYZxyz(63.3902, 68.3898, 26.3811)
Luminance0.6839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D774 #748DF0
analogous
#F09974 #F0D774 #CBF074
triadic
#F0D774 #74F0D7 #D774F0
tetradic
#F0D774 #74F099 #748DF0 #F074CB
square
#F0D774 #74F099 #748DF0 #F074CB
split-complementary
#F0D774 #74CBF0 #9974F0
monochromatic
#D3AD17 #EAC73D #F0D774 #F6E7AB #FCF7E2

Accessibility & contrast

On white

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

On black

14.68
#F0D774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D774
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D774#FFFFFF#000000##000000
##F0D7741.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D36B
Deuteranopia (green-blind)
#EFDB78
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f0d774;
/* rgb */ color: rgb(240, 215, 116);
/* oklch */ color: oklch(88.0% 0.123 95.5);
Tailwind
colors: {
  custom: {
    50: '#f7e39e',
    500: '#f0d774',
    950: '#000000',
  },
}
SCSS
$custom: #f0d774;
$custom-light: #f7e39e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d774",
  "rgb": {
    "r": 240,
    "g": 215,
    "b": 116
  },
  "hsl": {
    "h": 47.903,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.87982,
    "c": 0.12257,
    "h": 95.5
  },
  "luminance": 0.68387
}

Semantic roles & 50–950 ramp

primary
#F0D774
secondary
#3F5BC9
accent
#33DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0D774

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

Preview Lab → · Contrast checker → · Palette generator →

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