#F0CD60#F0CD60

#F0CD60 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.7% C 0.133 H 91.6°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#F0CD60
RGBrgb(240, 205, 96)
HSLhsl(45, 83%, 66%)
HSVhsv(45, 60%, 94%)
CMYKcmyk(0%, 14.6%, 60%, 5.9%)
CIE-LABlab(83.46, -0.08, 57.65)
CIE-LCHlch(83.46, 57.65, 90.08°)
OKLaboklab(85.75% -0.0036 0.1332)
OKLCHoklch(85.75% 0.133 91.6)
XYZxyz(59.8805, 63.0356, 20.0771)
Luminance0.6303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CD60 #6083F0
analogous
#F08560 #F0CD60 #CBF060
triadic
#F0CD60 #60F0CD #CD60F0
tetradic
#F0CD60 #60F085 #6083F0 #F060CB
square
#F0CD60 #60F085 #6083F0 #F060CB
split-complementary
#F0CD60 #60CBF0 #8560F0
monochromatic
#C39812 #EBBB28 #F0CD60 #F5DF98 #FBF0D0

Accessibility & contrast

On white

1.54
#F0CD60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#F0CD60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CD60
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CD60#FFFFFF#000000##000000
##F0CD601.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA55
Deuteranopia (green-blind)
#EAD465
Tritanopia (blue-blind)
#FFBEB5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f0cd60;
/* rgb */ color: rgb(240, 205, 96);
/* oklch */ color: oklch(85.7% 0.133 91.6);
Tailwind
colors: {
  custom: {
    50: '#f8dc91',
    500: '#f0cd60',
    950: '#000000',
  },
}
SCSS
$custom: #f0cd60;
$custom-light: #f8dc91;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cd60",
  "rgb": {
    "r": 240,
    "g": 205,
    "b": 96
  },
  "hsl": {
    "h": 45.417,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85749,
    "c": 0.1332,
    "h": 91.6
  },
  "luminance": 0.63032
}

Semantic roles & 50–950 ramp

primary
#F0CD60
secondary
#3356C1
accent
#3BDF06
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0CD60

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

Preview Lab → · Contrast checker → · Palette generator →

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