#F0D35B#F0D35B

#F0D35B is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.9% C 0.141 H 95.7°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#F0D35B
RGBrgb(240, 211, 91)
HSLhsl(48, 83%, 65%)
HSVhsv(48, 62%, 94%)
CMYKcmyk(0%, 12.1%, 62.1%, 5.9%)
CIE-LABlab(84.93, -3.48, 61.50)
CIE-LCHlch(84.93, 61.59, 93.24°)
OKLaboklab(86.9% -0.014 0.1407)
OKLCHoklch(86.9% 0.141 95.7)
XYZxyz(61.1205, 65.8721, 19.3907)
Luminance0.6587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D35B #5B78F0
analogous
#F0885B #F0D35B #C3F05B
triadic
#F0D35B #5BF0D3 #D35BF0
tetradic
#F0D35B #5BF088 #5B78F0 #F05BC3
square
#F0D35B #5BF088 #5B78F0 #F05BC3
split-complementary
#F0D35B #5BC3F0 #885BF0
monochromatic
#BF9D11 #EBC423 #F0D35B #F5E293 #FAF1CB

Accessibility & contrast

On white

1.48
#F0D35B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#F0D35B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D35B
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D35B#FFFFFF#000000##000000
##F0D35B1.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4E
Deuteranopia (green-blind)
#EED861
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f0d35b;
/* rgb */ color: rgb(240, 211, 91);
/* oklch */ color: oklch(86.9% 0.141 95.7);
Tailwind
colors: {
  custom: {
    50: '#f8e08e',
    500: '#f0d35b',
    950: '#000000',
  },
}
SCSS
$custom: #f0d35b;
$custom-light: #f8e08e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d35b",
  "rgb": {
    "r": 240,
    "g": 211,
    "b": 91
  },
  "hsl": {
    "h": 48.322,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86896,
    "c": 0.14141,
    "h": 95.7
  },
  "luminance": 0.65869
}

Semantic roles & 50–950 ramp

primary
#F0D35B
secondary
#324DBD
accent
#30E006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D35B

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

Preview Lab → · Contrast checker → · Palette generator →

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