#F0D15B#F0D15B

#F0D15B is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.5% C 0.140 H 94.5°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#F0D15B
RGBrgb(240, 209, 91)
HSLhsl(48, 83%, 65%)
HSVhsv(48, 62%, 94%)
CMYKcmyk(0%, 12.9%, 62.1%, 5.9%)
CIE-LABlab(84.42, -2.46, 60.94)
CIE-LCHlch(84.42, 60.99, 92.31°)
OKLaboklab(86.5% -0.0111 0.1395)
OKLCHoklch(86.5% 0.14 94.5)
XYZxyz(60.6267, 64.8846, 19.2261)
Luminance0.6488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D15B #5B7AF0
analogous
#F0875B #F0D15B #C4F05B
triadic
#F0D15B #5BF0D1 #D15BF0
tetradic
#F0D15B #5BF087 #5B7AF0 #F05BC4
square
#F0D15B #5BF087 #5B7AF0 #F05BC4
split-complementary
#F0D15B #5BC4F0 #875BF0
monochromatic
#BF9B11 #EBC123 #F0D15B #F5E193 #FAF0CB

Accessibility & contrast

On white

1.50
#F0D15B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#F0D15B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D15B
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D15B#FFFFFF#000000##000000
##F0D15B1.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD4E
Deuteranopia (green-blind)
#EDD761
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0d15b;
/* rgb */ color: rgb(240, 209, 91);
/* oklch */ color: oklch(86.5% 0.140 94.5);
Tailwind
colors: {
  custom: {
    50: '#f8de8e',
    500: '#f0d15b',
    950: '#000000',
  },
}
SCSS
$custom: #f0d15b;
$custom-light: #f8de8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d15b",
  "rgb": {
    "r": 240,
    "g": 209,
    "b": 91
  },
  "hsl": {
    "h": 47.517,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86495,
    "c": 0.13997,
    "h": 94.5
  },
  "luminance": 0.64882
}

Semantic roles & 50–950 ramp

primary
#F0D15B
secondary
#324FBD
accent
#33E006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D15B

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

Preview Lab → · Contrast checker → · Palette generator →

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