#F0D85F#F0D85F

#F0D85F is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.9% C 0.142 H 98.1°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#F0D85F
RGBrgb(240, 216, 95)
HSLhsl(50, 83%, 66%)
HSVhsv(50, 60%, 94%)
CMYKcmyk(0%, 10%, 60.4%, 5.9%)
CIE-LABlab(86.24, -5.75, 61.19)
CIE-LCHlch(86.24, 61.46, 95.37°)
OKLaboklab(87.94% -0.0201 0.1406)
OKLCHoklch(87.94% 0.142 98.1)
XYZxyz(62.5592, 68.4660, 20.7443)
Luminance0.6846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D85F #5F77F0
analogous
#F08F5F #F0D85F #BFF05F
triadic
#F0D85F #5FF0D8 #D85FF0
tetradic
#F0D85F #5FF08F #5F77F0 #F05FBF
square
#F0D85F #5FF08F #5F77F0 #F05FBF
split-complementary
#F0D85F #5FBFF0 #8F5FF0
monochromatic
#C2A512 #EBCA27 #F0D85F #F5E697 #FAF3CF

Accessibility & contrast

On white

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

On black

14.69
#F0D85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D85F
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D85F#FFFFFF#000000##000000
##F0D85F1.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD352
Deuteranopia (green-blind)
#F2DB65
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f0d85f;
/* rgb */ color: rgb(240, 216, 95);
/* oklch */ color: oklch(87.9% 0.142 98.1);
Tailwind
colors: {
  custom: {
    50: '#f8e391',
    500: '#f0d85f',
    950: '#000000',
  },
}
SCSS
$custom: #f0d85f;
$custom-light: #f8e391;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d85f",
  "rgb": {
    "r": 240,
    "g": 216,
    "b": 95
  },
  "hsl": {
    "h": 50.069,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87943,
    "c": 0.14202,
    "h": 98.1
  },
  "luminance": 0.68463
}

Semantic roles & 50–950 ramp

primary
#F0D85F
secondary
#334AC0
accent
#2ADF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D85F

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

Preview Lab → · Contrast checker → · Palette generator →

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