#F0D178#F0D178

#F0D178 is a very light, moderate orange. Relative luminance 0.655; OKLCH L 86.8% C 0.114 H 90.7°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#F0D178
RGBrgb(240, 209, 120)
HSLhsl(45, 80%, 71%)
HSVhsv(45, 50%, 94%)
CMYKcmyk(0%, 12.9%, 50%, 5.9%)
CIE-LABlab(84.73, -0.26, 47.82)
CIE-LCHlch(84.73, 47.82, 90.32°)
OKLaboklab(86.84% -0.0014 0.1142)
OKLCHoklch(86.84% 0.114 90.7)
XYZxyz(62.1280, 65.4851, 27.1330)
Luminance0.6548 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D178 #7897F0
analogous
#F09578 #F0D178 #D3F078
triadic
#F0D178 #78F0D1 #D178F0
tetradic
#F0D178 #78F095 #7897F0 #F078D3
square
#F0D178 #78F095 #7897F0 #F078D3
split-complementary
#F0D178 #78D3F0 #9578F0
monochromatic
#D6A518 #EABE41 #F0D178 #F6E4AF #FCF6E3

Accessibility & contrast

On white

1.49
#F0D178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.10
#F0D178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D178
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D178#FFFFFF#000000##000000
##F0D1781.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE70
Deuteranopia (green-blind)
#EAD77B
Tritanopia (blue-blind)
#FFC4BC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0d178;
/* rgb */ color: rgb(240, 209, 120);
/* oklch */ color: oklch(86.8% 0.114 90.7);
Tailwind
colors: {
  custom: {
    50: '#f7dea1',
    500: '#f0d178',
    950: '#000000',
  },
}
SCSS
$custom: #f0d178;
$custom-light: #f7dea1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d178",
  "rgb": {
    "r": 240,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 44.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.86839,
    "c": 0.11419,
    "h": 90.7
  },
  "luminance": 0.65482
}

Semantic roles & 50–950 ramp

primary
#F0D178
secondary
#4265CA
accent
#40DC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0D178

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

Preview Lab → · Contrast checker → · Palette generator →

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