#F0DF6A#F0DF6A

#F0DF6A is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.5% C 0.139 H 101.1°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#F0DF6A
RGBrgb(240, 223, 106)
HSLhsl(52, 82%, 68%)
HSVhsv(52, 56%, 94%)
CMYKcmyk(0%, 7.1%, 55.8%, 5.9%)
CIE-LABlab(88.13, -8.50, 58.43)
CIE-LCHlch(88.13, 59.05, 98.28°)
OKLaboklab(89.48% -0.0268 0.136)
OKLCHoklch(89.48% 0.139 101.1)
XYZxyz(64.9266, 72.3437, 24.1766)
Luminance0.7234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DF6A #6A7BF0
analogous
#F09C6A #F0DF6A #BEF06A
triadic
#F0DF6A #6AF0DF #DF6AF0
tetradic
#F0DF6A #6AF09C #6A7BF0 #F06ABE
square
#F0DF6A #6AF09C #6A7BF0 #F06ABE
split-complementary
#F0DF6A #6ABEF0 #9C6AF0
monochromatic
#CBB414 #EAD332 #F0DF6A #F6EBA2 #FBF7D9

Accessibility & contrast

On white

1.36
#F0DF6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.47
#F0DF6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DF6A
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DF6A#FFFFFF#000000##000000
##F0DF6A1.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D95E
Deuteranopia (green-blind)
#F6E070
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0df6a;
/* rgb */ color: rgb(240, 223, 106);
/* oklch */ color: oklch(89.5% 0.139 101.1);
Tailwind
colors: {
  custom: {
    50: '#f8e898',
    500: '#f0df6a',
    950: '#000000',
  },
}
SCSS
$custom: #f0df6a;
$custom-light: #f8e898;
$custom-dark: #000000;
JSON
{
  "hex": "#f0df6a",
  "rgb": {
    "r": 240,
    "g": 223,
    "b": 106
  },
  "hsl": {
    "h": 52.388,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.89479,
    "c": 0.13862,
    "h": 101.1
  },
  "luminance": 0.72341
}

Semantic roles & 50–950 ramp

primary
#F0DF6A
secondary
#3649C8
accent
#23DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0DF6A

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

Preview Lab → · Contrast checker → · Palette generator →

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