#F0CB5B#F0CB5B

#F0CB5B is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 85.3% C 0.136 H 90.9°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#F0CB5B
RGBrgb(240, 203, 91)
HSLhsl(45, 83%, 65%)
HSVhsv(45, 62%, 94%)
CMYKcmyk(0%, 15.4%, 62.1%, 5.9%)
CIE-LABlab(82.91, 0.62, 59.28)
CIE-LCHlch(82.91, 59.28, 89.40°)
OKLaboklab(85.3% -0.0022 0.136)
OKLCHoklch(85.3% 0.136 90.9)
XYZxyz(59.1823, 61.9957, 18.7446)
Luminance0.6199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CB5B #5B80F0
analogous
#F0815B #F0CB5B #CAF05B
triadic
#F0CB5B #5BF0CB #CB5BF0
tetradic
#F0CB5B #5BF081 #5B80F0 #F05BCA
square
#F0CB5B #5BF081 #5B80F0 #F05BCA
split-complementary
#F0CB5B #5BCAF0 #815BF0
monochromatic
#BF9411 #EBB923 #F0CB5B #F5DD93 #FAEFCB

Accessibility & contrast

On white

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

On black

13.40
#F0CB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CB5B
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CB5B#FFFFFF#000000##000000
##F0CB5B1.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84F
Deuteranopia (green-blind)
#E8D360
Tritanopia (blue-blind)
#FFBCB3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #f0cb5b;
/* rgb */ color: rgb(240, 203, 91);
/* oklch */ color: oklch(85.3% 0.136 90.9);
Tailwind
colors: {
  custom: {
    50: '#f8da8d',
    500: '#f0cb5b',
    950: '#000000',
  },
}
SCSS
$custom: #f0cb5b;
$custom-light: #f8da8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cb5b",
  "rgb": {
    "r": 240,
    "g": 203,
    "b": 91
  },
  "hsl": {
    "h": 45.101,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.853,
    "c": 0.136,
    "h": 90.9
  },
  "luminance": 0.61992
}

Semantic roles & 50–950 ramp

primary
#F0CB5B
secondary
#3255BD
accent
#3CE006
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0CB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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