#F0CB4D#F0CB4D

#F0CB4D is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 85.2% C 0.146 H 92.4°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#F0CB4D
RGBrgb(240, 203, 77)
HSLhsl(46, 84%, 62%)
HSVhsv(46, 68%, 94%)
CMYKcmyk(0%, 15.4%, 67.9%, 5.9%)
CIE-LABlab(82.79, -0.20, 65.11)
CIE-LCHlch(82.79, 65.11, 90.18°)
OKLaboklab(85.17% -0.0062 0.1463)
OKLCHoklch(85.17% 0.146 92.4)
XYZxyz(58.6337, 61.7763, 15.8554)
Luminance0.6177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CB4D #4D72F0
analogous
#F0794D #F0CB4D #C4F04D
triadic
#F0CB4D #4DF0CB #CB4DF0
tetradic
#F0CB4D #4DF079 #4D72F0 #F04DC4
square
#F0CB4D #4DF079 #4D72F0 #F04DC4
split-complementary
#F0CB4D #4DC4F0 #794DF0
monochromatic
#B38E0F #EBBB15 #F0CB4D #F5DB85 #FAECBE

Accessibility & contrast

On white

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

On black

13.35
#F0CB4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CB4D
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CB4D#FFFFFF#000000##000000
##F0CB4D1.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83D
Deuteranopia (green-blind)
#E9D353
Tritanopia (blue-blind)
#FFBBB1
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #f0cb4d;
/* rgb */ color: rgb(240, 203, 77);
/* oklch */ color: oklch(85.2% 0.146 92.4);
Tailwind
colors: {
  custom: {
    50: '#f9da85',
    500: '#f0cb4d',
    950: '#000000',
  },
}
SCSS
$custom: #f0cb4d;
$custom-light: #f9da85;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cb4d",
  "rgb": {
    "r": 240,
    "g": 203,
    "b": 77
  },
  "hsl": {
    "h": 46.38,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.8517,
    "c": 0.14638,
    "h": 92.4
  },
  "luminance": 0.61773
}

Semantic roles & 50–950 ramp

primary
#F0CB4D
secondary
#2E4CB3
accent
#37E105
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F0CB4D

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

Preview Lab → · Contrast checker → · Palette generator →

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