#F2DB72#F2DB72

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

Color values

HEX#F2DB72
RGBrgb(242, 219, 114)
HSLhsl(49, 83%, 70%)
HSVhsv(49, 53%, 95%)
CMYKcmyk(0%, 9.5%, 52.9%, 5.1%)
CIE-LABlab(87.37, -5.06, 53.90)
CIE-LCHlch(87.37, 54.14, 95.36°)
OKLaboklab(88.94% -0.0161 0.127)
OKLCHoklch(88.94% 0.128 97.2)
XYZxyz(64.9890, 70.7579, 26.1507)
Luminance0.7076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB72 #7289F2
analogous
#F29B72 #F2DB72 #C9F272
triadic
#F2DB72 #72F2DB #DB72F2
tetradic
#F2DB72 #72F29B #7289F2 #F272C9
square
#F2DB72 #72F29B #7289F2 #F272C9
split-complementary
#F2DB72 #72C9F2 #9B72F2
monochromatic
#D6B314 #EDCD3A #F2DB72 #F7E9AA #FCF8E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2DB72#FFFFFF#000000##000000
##F2DB721.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)
#EDD668
Deuteranopia (green-blind)
#F3DE77
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2db72;
/* rgb */ color: rgb(242, 219, 114);
/* oklch */ color: oklch(88.9% 0.128 97.2);
Tailwind
colors: {
  custom: {
    50: '#f9e59d',
    500: '#f2db72',
    950: '#000000',
  },
}
SCSS
$custom: #f2db72;
$custom-light: #f9e59d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db72",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 114
  },
  "hsl": {
    "h": 49.219,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88939,
    "c": 0.128,
    "h": 97.2
  },
  "luminance": 0.70755
}

Semantic roles & 50–950 ramp

primary
#F2DB72
secondary
#3D56CC
accent
#2DE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2DB72

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

Preview Lab → · Contrast checker → · Palette generator →

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