#F0D95B#F0D95B

#F0D95B is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.1% C 0.146 H 99.0°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#F0D95B
RGBrgb(240, 217, 91)
HSLhsl(51, 83%, 65%)
HSVhsv(51, 62%, 94%)
CMYKcmyk(0%, 9.6%, 62.1%, 5.9%)
CIE-LABlab(86.46, -6.52, 63.16)
CIE-LCHlch(86.46, 63.50, 95.89°)
OKLaboklab(88.11% -0.0227 0.1442)
OKLCHoklch(88.11% 0.146 99)
XYZxyz(62.6390, 68.9091, 19.8968)
Luminance0.6891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D95B #5B72F0
analogous
#F08E5B #F0D95B #BDF05B
triadic
#F0D95B #5BF0D9 #D95BF0
tetradic
#F0D95B #5BF08E #5B72F0 #F05BBD
square
#F0D95B #5BF08E #5B72F0 #F05BBD
split-complementary
#F0D95B #5BBDF0 #8E5BF0
monochromatic
#BFA411 #EBCC23 #F0D95B #F5E693 #FAF3CB

Accessibility & contrast

On white

1.42
#F0D95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.78
#F0D95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D95B
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D95B#FFFFFF#000000##000000
##F0D95B1.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d95b;
/* rgb */ color: rgb(240, 217, 91);
/* oklch */ color: oklch(88.1% 0.146 99.0);
Tailwind
colors: {
  custom: {
    50: '#f8e48e',
    500: '#f0d95b',
    950: '#000000',
  },
}
SCSS
$custom: #f0d95b;
$custom-light: #f8e48e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d95b",
  "rgb": {
    "r": 240,
    "g": 217,
    "b": 91
  },
  "hsl": {
    "h": 50.738,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88106,
    "c": 0.14602,
    "h": 99
  },
  "luminance": 0.68906
}

Semantic roles & 50–950 ramp

primary
#F0D95B
secondary
#3247BD
accent
#27E006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D95B

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

Preview Lab → · Contrast checker → · Palette generator →

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