#F0CB5A#F0CB5A

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

Color values

HEX#F0CB5A
RGBrgb(240, 203, 90)
HSLhsl(45, 83%, 65%)
HSVhsv(45, 63%, 94%)
CMYKcmyk(0%, 15.4%, 62.5%, 5.9%)
CIE-LABlab(82.90, 0.56, 59.71)
CIE-LCHlch(82.90, 59.71, 89.47°)
OKLaboklab(85.29% -0.0025 0.1368)
OKLCHoklch(85.29% 0.137 91.1)
XYZxyz(59.1394, 61.9786, 18.5189)
Luminance0.6198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CB5A #5A7FF0
analogous
#F0805A #F0CB5A #CAF05A
triadic
#F0CB5A #5AF0CB #CB5AF0
tetradic
#F0CB5A #5AF080 #5A7FF0 #F05ACA
square
#F0CB5A #5AF080 #5A7FF0 #F05ACA
split-complementary
#F0CB5A #5ACAF0 #805AF0
monochromatic
#BE9411 #EBB922 #F0CB5A #F5DD92 #FAEECA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0CB5A#FFFFFF#000000##000000
##F0CB5A1.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)
#DFC84E
Deuteranopia (green-blind)
#E8D35F
Tritanopia (blue-blind)
#FFBCB3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #f0cb5a;
/* rgb */ color: rgb(240, 203, 90);
/* oklch */ color: oklch(85.3% 0.137 91.1);
Tailwind
colors: {
  custom: {
    50: '#f8da8d',
    500: '#f0cb5a',
    950: '#000000',
  },
}
SCSS
$custom: #f0cb5a;
$custom-light: #f8da8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cb5a",
  "rgb": {
    "r": 240,
    "g": 203,
    "b": 90
  },
  "hsl": {
    "h": 45.2,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.8529,
    "c": 0.13679,
    "h": 91.1
  },
  "luminance": 0.61975
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0CB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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