#F0DC6A#F0DC6A

#F0DC6A is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.9% C 0.136 H 99.5°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#F0DC6A
RGBrgb(240, 220, 106)
HSLhsl(51, 82%, 68%)
HSVhsv(51, 56%, 94%)
CMYKcmyk(0%, 8.3%, 55.8%, 5.9%)
CIE-LABlab(87.37, -7.00, 57.55)
CIE-LCHlch(87.37, 57.98, 96.93°)
OKLaboklab(88.87% -0.0224 0.1341)
OKLCHoklch(88.87% 0.136 99.5)
XYZxyz(64.1322, 70.7548, 23.9118)
Luminance0.7075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC6A #6A7EF0
analogous
#F0996A #F0DC6A #C1F06A
triadic
#F0DC6A #6AF0DC #DC6AF0
tetradic
#F0DC6A #6AF099 #6A7EF0 #F06AC1
square
#F0DC6A #6AF099 #6A7EF0 #F06AC1
split-complementary
#F0DC6A #6AC1F0 #996AF0
monochromatic
#CBB014 #EACF32 #F0DC6A #F6E9A2 #FBF6D9

Accessibility & contrast

On white

1.39
#F0DC6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.15
#F0DC6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DC6A
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DC6A#FFFFFF#000000##000000
##F0DC6A1.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED75F
Deuteranopia (green-blind)
#F4DE6F
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dc6a;
/* rgb */ color: rgb(240, 220, 106);
/* oklch */ color: oklch(88.9% 0.136 99.5);
Tailwind
colors: {
  custom: {
    50: '#f8e698',
    500: '#f0dc6a',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc6a;
$custom-light: #f8e698;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc6a",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 106
  },
  "hsl": {
    "h": 51.045,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.8887,
    "c": 0.13598,
    "h": 99.5
  },
  "luminance": 0.70752
}

Semantic roles & 50–950 ramp

primary
#F0DC6A
secondary
#364CC8
accent
#27DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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