#F2DB85#F2DB85

#F2DB85 is a very light, moderate yellow. Relative luminance 0.712; OKLCH L 89.2% C 0.109 H 94.9°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#F2DB85
RGBrgb(242, 219, 133)
HSLhsl(47, 81%, 74%)
HSVhsv(47, 45%, 95%)
CMYKcmyk(0%, 9.5%, 45%, 5.1%)
CIE-LABlab(87.60, -3.37, 45.03)
CIE-LCHlch(87.60, 45.15, 94.28°)
OKLaboklab(89.2% -0.0093 0.1088)
OKLCHoklch(89.2% 0.109 94.9)
XYZxyz(66.1850, 71.2362, 32.4494)
Luminance0.7123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB85 #859CF2
analogous
#F2A485 #F2DB85 #D3F285
triadic
#F2DB85 #85F2DB #DB85F2
tetradic
#F2DB85 #85F2A4 #859CF2 #F285D3
square
#F2DB85 #85F2A4 #859CF2 #F285D3
split-complementary
#F2DB85 #85D3F2 #A485F2
monochromatic
#E4B918 #ECCB4E #F2DB85 #F8EBBC #FCF7E3

Accessibility & contrast

On white

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

On black

15.25
#F2DB85 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB85
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB85#FFFFFF#000000##000000
##F2DB851.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD77E
Deuteranopia (green-blind)
#F1DF88
Tritanopia (blue-blind)
#FFCFC6
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2db85;
/* rgb */ color: rgb(242, 219, 133);
/* oklch */ color: oklch(89.2% 0.109 94.9);
Tailwind
colors: {
  custom: {
    50: '#f8e6aa',
    500: '#f2db85',
    950: '#000000',
  },
}
SCSS
$custom: #f2db85;
$custom-light: #f8e6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db85",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 133
  },
  "hsl": {
    "h": 47.339,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.89198,
    "c": 0.10921,
    "h": 94.9
  },
  "luminance": 0.71234
}

Semantic roles & 50–950 ramp

primary
#F2DB85
secondary
#4E69CE
accent
#35DD08
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F2DB85

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

Preview Lab → · Contrast checker → · Palette generator →

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