#F2DB70#F2DB70

#F2DB70 is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.9% C 0.130 H 97.4°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#F2DB70
RGBrgb(242, 219, 112)
HSLhsl(49, 83%, 69%)
HSVhsv(49, 54%, 95%)
CMYKcmyk(0%, 9.5%, 53.7%, 5.1%)
CIE-LABlab(87.35, -5.22, 54.81)
CIE-LCHlch(87.35, 55.06, 95.44°)
OKLaboklab(88.91% -0.0168 0.1288)
OKLCHoklch(88.91% 0.13 97.4)
XYZxyz(64.8764, 70.7128, 25.5577)
Luminance0.7071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB70 #7087F2
analogous
#F29A70 #F2DB70 #C8F270
triadic
#F2DB70 #70F2DB #DB70F2
tetradic
#F2DB70 #70F29A #7087F2 #F270C8
square
#F2DB70 #70F29A #7087F2 #F270C8
split-complementary
#F2DB70 #70C8F2 #9A70F2
monochromatic
#D4B213 #EDCD38 #F2DB70 #F7E9A8 #FCF7E0

Accessibility & contrast

On white

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

On black

15.14
#F2DB70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB70
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB70#FFFFFF#000000##000000
##F2DB701.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD666
Deuteranopia (green-blind)
#F3DE75
Tritanopia (blue-blind)
#FFCDC3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2db70;
/* rgb */ color: rgb(242, 219, 112);
/* oklch */ color: oklch(88.9% 0.130 97.4);
Tailwind
colors: {
  custom: {
    50: '#f9e59c',
    500: '#f2db70',
    950: '#000000',
  },
}
SCSS
$custom: #f2db70;
$custom-light: #f9e59c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db70",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 112
  },
  "hsl": {
    "h": 49.385,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.88914,
    "c": 0.12986,
    "h": 97.4
  },
  "luminance": 0.7071
}

Semantic roles & 50–950 ramp

primary
#F2DB70
secondary
#3B54CB
accent
#2CE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2DB70

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

Preview Lab → · Contrast checker → · Palette generator →

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