#F0CB78#F0CB78

#F0CB78 is a very light, moderate orange. Relative luminance 0.626; OKLCH L 85.7% C 0.110 H 86.1°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#F0CB78
RGBrgb(240, 203, 120)
HSLhsl(42, 80%, 71%)
HSVhsv(42, 50%, 94%)
CMYKcmyk(0%, 15.4%, 50%, 5.9%)
CIE-LABlab(83.23, 2.83, 45.98)
CIE-LCHlch(83.23, 46.06, 86.48°)
OKLaboklab(85.65% 0.0076 0.1101)
OKLCHoklch(85.65% 0.11 86.1)
XYZxyz(60.6836, 62.5962, 26.6515)
Luminance0.6259 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CB78 #789DF0
analogous
#F08F78 #F0CB78 #D9F078
triadic
#F0CB78 #78F0CB #CB78F0
tetradic
#F0CB78 #78F08F #789DF0 #F078D9
square
#F0CB78 #78F08F #789DF0 #F078D9
split-complementary
#F0CB78 #78D9F0 #8F78F0
monochromatic
#D69B18 #EAB641 #F0CB78 #F6E0AF #FCF4E3

Accessibility & contrast

On white

1.55
#F0CB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#F0CB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CB78
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CB78#FFFFFF#000000##000000
##F0CB781.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCA71
Deuteranopia (green-blind)
#E6D37B
Tritanopia (blue-blind)
#FFBEB7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #f0cb78;
/* rgb */ color: rgb(240, 203, 120);
/* oklch */ color: oklch(85.7% 0.110 86.1);
Tailwind
colors: {
  custom: {
    50: '#f7daa0',
    500: '#f0cb78',
    950: '#000000',
  },
}
SCSS
$custom: #f0cb78;
$custom-light: #f7daa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cb78",
  "rgb": {
    "r": 240,
    "g": 203,
    "b": 120
  },
  "hsl": {
    "h": 41.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.85654,
    "c": 0.11035,
    "h": 86.1
  },
  "luminance": 0.62593
}

Semantic roles & 50–950 ramp

primary
#F0CB78
secondary
#426CCA
accent
#4ADC09
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #F0CB78

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

Preview Lab → · Contrast checker → · Palette generator →

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