#F0D288#F0D288

#F0D288 is a very light, moderate orange. Relative luminance 0.664; OKLCH L 87.3% C 0.099 H 88.2°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#F0D288
RGBrgb(240, 210, 136)
HSLhsl(43, 78%, 74%)
HSVhsv(43, 43%, 94%)
CMYKcmyk(0%, 12.5%, 43.3%, 5.9%)
CIE-LABlab(85.20, 0.73, 40.46)
CIE-LCHlch(85.20, 40.47, 88.97°)
OKLaboklab(87.28% 0.003 0.0987)
OKLCHoklch(87.28% 0.099 88.2)
XYZxyz(63.4275, 66.3987, 32.7630)
Luminance0.6640 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D288 #88A6F0
analogous
#F09E88 #F0D288 #DAF088
triadic
#F0D288 #88F0D2 #D288F0
tetradic
#F0D288 #88F09E #88A6F0 #F088DA
square
#F0D288 #88F09E #88A6F0 #F088DA
split-complementary
#F0D288 #88DAF0 #9E88F0
monochromatic
#E1A81C #E9BD52 #F0D288 #F7E7BE #FCF5E4

Accessibility & contrast

On white

1.47
#F0D288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.28
#F0D288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D288
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D288#FFFFFF#000000##000000
##F0D2881.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D082
Deuteranopia (green-blind)
#E9D88A
Tritanopia (blue-blind)
#FFC6C0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f0d288;
/* rgb */ color: rgb(240, 210, 136);
/* oklch */ color: oklch(87.3% 0.099 88.2);
Tailwind
colors: {
  custom: {
    50: '#f7dfab',
    500: '#f0d288',
    950: '#000000',
  },
}
SCSS
$custom: #f0d288;
$custom-light: #f7dfab;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d288",
  "rgb": {
    "r": 240,
    "g": 210,
    "b": 136
  },
  "hsl": {
    "h": 42.692,
    "s": 77.612,
    "l": 73.725
  },
  "oklch": {
    "l": 0.87276,
    "c": 0.09871,
    "h": 88.2
  },
  "luminance": 0.66396
}

Semantic roles & 50–950 ramp

primary
#F0D288
secondary
#5174CB
accent
#47DA0C
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F0D288

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

Preview Lab → · Contrast checker → · Palette generator →

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