#F0CB58#F0CB58

#F0CB58 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 85.3% C 0.138 H 91.3°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#F0CB58
RGBrgb(240, 203, 88)
HSLhsl(45, 84%, 64%)
HSVhsv(45, 63%, 94%)
CMYKcmyk(0%, 15.4%, 63.3%, 5.9%)
CIE-LABlab(82.88, 0.43, 60.57)
CIE-LCHlch(82.88, 60.57, 89.59°)
OKLaboklab(85.27% -0.0031 0.1383)
OKLCHoklch(85.27% 0.138 91.3)
XYZxyz(59.0554, 61.9450, 18.0766)
Luminance0.6194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CB58 #587DF0
analogous
#F07F58 #F0CB58 #C9F058
triadic
#F0CB58 #58F0CB #CB58F0
tetradic
#F0CB58 #58F07F #587DF0 #F058C9
square
#F0CB58 #58F07F #587DF0 #F058C9
split-complementary
#F0CB58 #58C9F0 #7F58F0
monochromatic
#BD9311 #EBBA20 #F0CB58 #F5DC90 #FAEEC8

Accessibility & contrast

On white

1.57
#F0CB58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#F0CB58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CB58
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CB58#FFFFFF#000000##000000
##F0CB581.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84B
Deuteranopia (green-blind)
#E9D35D
Tritanopia (blue-blind)
#FFBCB2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #f0cb58;
/* rgb */ color: rgb(240, 203, 88);
/* oklch */ color: oklch(85.3% 0.138 91.3);
Tailwind
colors: {
  custom: {
    50: '#f8da8c',
    500: '#f0cb58',
    950: '#000000',
  },
}
SCSS
$custom: #f0cb58;
$custom-light: #f8da8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cb58",
  "rgb": {
    "r": 240,
    "g": 203,
    "b": 88
  },
  "hsl": {
    "h": 45.395,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.8527,
    "c": 0.13835,
    "h": 91.3
  },
  "luminance": 0.61942
}

Semantic roles & 50–950 ramp

primary
#F0CB58
secondary
#3153BB
accent
#3BE006
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0CB58

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

Preview Lab → · Contrast checker → · Palette generator →

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