#F0DC83#F0DC83

#F0DC83 is a very light, moderate yellow. Relative luminance 0.714; OKLCH L 89.2% C 0.112 H 97.0°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#F0DC83
RGBrgb(240, 220, 131)
HSLhsl(49, 78%, 73%)
HSVhsv(49, 45%, 94%)
CMYKcmyk(0%, 8.3%, 45.4%, 5.9%)
CIE-LABlab(87.66, -4.87, 46.05)
CIE-LCHlch(87.66, 46.30, 96.03°)
OKLaboklab(89.19% -0.0137 0.111)
OKLCHoklch(89.19% 0.112 97)
XYZxyz(65.6269, 71.3527, 31.7838)
Luminance0.7135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC83 #8397F0
analogous
#F0A683 #F0DC83 #CDF083
triadic
#F0DC83 #83F0DC #DC83F0
tetradic
#F0DC83 #83F0A6 #8397F0 #F083CD
square
#F0DC83 #83F0A6 #8397F0 #F083CD
split-complementary
#F0DC83 #83CDF0 #A683F0
monochromatic
#DEBA1B #E9CD4C #F0DC83 #F7EBBA #FCF7E4

Accessibility & contrast

On white

1.38
#F0DC83 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.27
#F0DC83 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DC83
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DC83#FFFFFF#000000##000000
##F0DC831.001.3815.2715.27
#FFFFFF1.381.0021.0021.00
#00000015.2721.001.001.00
##00000015.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD87C
Deuteranopia (green-blind)
#F2DF87
Tritanopia (blue-blind)
#FFD0C6
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0dc83;
/* rgb */ color: rgb(240, 220, 131);
/* oklch */ color: oklch(89.2% 0.112 97.0);
Tailwind
colors: {
  custom: {
    50: '#f7e6a8',
    500: '#f0dc83',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc83;
$custom-light: #f7e6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc83",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 131
  },
  "hsl": {
    "h": 48.991,
    "s": 78.417,
    "l": 72.745
  },
  "oklch": {
    "l": 0.89193,
    "c": 0.11184,
    "h": 97
  },
  "luminance": 0.7135
}

Semantic roles & 50–950 ramp

primary
#F0DC83
secondary
#4C64CB
accent
#31DB0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#171510
muted
#858480

Preview Lab

Preview with #F0DC83

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

Preview Lab → · Contrast checker → · Palette generator →

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