#F2DB81#F2DB81

#F2DB81 is a very light, moderate yellow. Relative luminance 0.711; OKLCH L 89.1% C 0.113 H 95.4°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#F2DB81
RGBrgb(242, 219, 129)
HSLhsl(48, 81%, 73%)
HSVhsv(48, 47%, 95%)
CMYKcmyk(0%, 9.5%, 46.7%, 5.1%)
CIE-LABlab(87.55, -3.75, 46.93)
CIE-LCHlch(87.55, 47.08, 94.57°)
OKLaboklab(89.14% -0.0108 0.1128)
OKLCHoklch(89.14% 0.113 95.4)
XYZxyz(65.9139, 71.1278, 31.0216)
Luminance0.7113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB81 #8198F2
analogous
#F2A381 #F2DB81 #D0F281
triadic
#F2DB81 #81F2DB #DB81F2
tetradic
#F2DB81 #81F2A3 #8198F2 #F281D0
square
#F2DB81 #81F2A3 #8198F2 #F281D0
split-complementary
#F2DB81 #81D0F2 #A381F2
monochromatic
#E1B817 #ECCB4A #F2DB81 #F8EBB8 #FCF7E3

Accessibility & contrast

On white

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

On black

15.23
#F2DB81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB81
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB81#FFFFFF#000000##000000
##F2DB811.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD77A
Deuteranopia (green-blind)
#F2DF84
Tritanopia (blue-blind)
#FFCFC5
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2db81;
/* rgb */ color: rgb(242, 219, 129);
/* oklch */ color: oklch(89.1% 0.113 95.4);
Tailwind
colors: {
  custom: {
    50: '#f8e6a7',
    500: '#f2db81',
    950: '#000000',
  },
}
SCSS
$custom: #f2db81;
$custom-light: #f8e6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db81",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 129
  },
  "hsl": {
    "h": 47.788,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.89139,
    "c": 0.11332,
    "h": 95.4
  },
  "luminance": 0.71125
}

Semantic roles & 50–950 ramp

primary
#F2DB81
secondary
#4A65CD
accent
#33DE08
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #F2DB81

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

Preview Lab → · Contrast checker → · Palette generator →

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