#F0CB74#F0CB74

#F0CB74 is a very light, moderate orange. Relative luminance 0.625; OKLCH L 85.6% C 0.114 H 86.9°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#F0CB74
RGBrgb(240, 203, 116)
HSLhsl(42, 81%, 70%)
HSVhsv(42, 52%, 94%)
CMYKcmyk(0%, 15.4%, 51.7%, 5.9%)
CIE-LABlab(83.18, 2.48, 47.88)
CIE-LCHlch(83.18, 47.95, 87.03°)
OKLaboklab(85.6% 0.0061 0.114)
OKLCHoklch(85.6% 0.114 86.9)
XYZxyz(60.4459, 62.5012, 25.3997)
Luminance0.6250 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CB74 #7499F0
analogous
#F08D74 #F0CB74 #D7F074
triadic
#F0CB74 #74F0CB #CB74F0
tetradic
#F0CB74 #74F08D #7499F0 #F074D7
square
#F0CB74 #74F08D #7499F0 #F074D7
split-complementary
#F0CB74 #74D7F0 #8D74F0
monochromatic
#D39B17 #EAB63D #F0CB74 #F6E0AB #FCF4E2

Accessibility & contrast

On white

1.56
#F0CB74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#F0CB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CB74
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CB74#FFFFFF#000000##000000
##F0CB741.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC96D
Deuteranopia (green-blind)
#E6D377
Tritanopia (blue-blind)
#FFBEB6
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #f0cb74;
/* rgb */ color: rgb(240, 203, 116);
/* oklch */ color: oklch(85.6% 0.114 86.9);
Tailwind
colors: {
  custom: {
    50: '#f7da9e',
    500: '#f0cb74',
    950: '#000000',
  },
}
SCSS
$custom: #f0cb74;
$custom-light: #f7da9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cb74",
  "rgb": {
    "r": 240,
    "g": 203,
    "b": 116
  },
  "hsl": {
    "h": 42.097,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.85598,
    "c": 0.11415,
    "h": 86.9
  },
  "luminance": 0.62498
}

Semantic roles & 50–950 ramp

primary
#F0CB74
secondary
#3F68C9
accent
#48DD09
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140E
muted
#86837F

Preview Lab

Preview with #F0CB74

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

Preview Lab → · Contrast checker → · Palette generator →

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