#F2DB6D#F2DB6D

#F2DB6D is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 88.9% C 0.133 H 97.7°. Best body text is #000000 at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#F2DB6D
RGBrgb(242, 219, 109)
HSLhsl(50, 84%, 69%)
HSVhsv(50, 55%, 95%)
CMYKcmyk(0%, 9.5%, 55%, 5.1%)
CIE-LABlab(87.31, -5.45, 56.16)
CIE-LCHlch(87.31, 56.43, 95.54°)
OKLaboklab(88.88% -0.0178 0.1314)
OKLCHoklch(88.88% 0.133 97.7)
XYZxyz(64.7121, 70.6471, 24.6926)
Luminance0.7064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB6D #6D84F2
analogous
#F2996D #F2DB6D #C7F26D
triadic
#F2DB6D #6DF2DB #DB6DF2
tetradic
#F2DB6D #6DF299 #6D84F2 #F26DC7
square
#F2DB6D #6DF299 #6D84F2 #F26DC7
split-complementary
#F2DB6D #6DC7F2 #996DF2
monochromatic
#D2B113 #EDCD35 #F2DB6D #F7E9A5 #FCF7DD

Accessibility & contrast

On white

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

On black

15.13
#F2DB6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB6D
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB6D#FFFFFF#000000##000000
##F2DB6D1.001.3915.1315.13
#FFFFFF1.391.0021.0021.00
#00000015.1321.001.001.00
##00000015.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD662
Deuteranopia (green-blind)
#F4DE72
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2db6d;
/* rgb */ color: rgb(242, 219, 109);
/* oklch */ color: oklch(88.9% 0.133 97.7);
Tailwind
colors: {
  custom: {
    50: '#f9e59a',
    500: '#f2db6d',
    950: '#000000',
  },
}
SCSS
$custom: #f2db6d;
$custom-light: #f9e59a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db6d",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 109
  },
  "hsl": {
    "h": 49.624,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88879,
    "c": 0.1326,
    "h": 97.7
  },
  "luminance": 0.70644
}

Semantic roles & 50–950 ramp

primary
#F2DB6D
secondary
#3852CB
accent
#2BE005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2DB6D

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

Preview Lab → · Contrast checker → · Palette generator →

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