#F2DB5E#F2DB5E

#F2DB5E is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.7% C 0.145 H 98.9°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#F2DB5E
RGBrgb(242, 219, 94)
HSLhsl(51, 85%, 66%)
HSVhsv(51, 61%, 95%)
CMYKcmyk(0%, 9.5%, 61.2%, 5.1%)
CIE-LABlab(87.17, -6.51, 62.70)
CIE-LCHlch(87.17, 63.03, 95.93°)
OKLaboklab(88.72% -0.0225 0.1436)
OKLCHoklch(88.72% 0.145 98.9)
XYZxyz(63.9725, 70.3512, 20.7970)
Luminance0.7035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB5E #5E75F2
analogous
#F2915E #F2DB5E #BFF25E
triadic
#F2DB5E #5EF2DB #DB5EF2
tetradic
#F2DB5E #5EF291 #5E75F2 #F25EBF
square
#F2DB5E #5EF291 #5E75F2 #F25EBF
split-complementary
#F2DB5E #5EBFF2 #915EF2
monochromatic
#C6A910 #EDCE25 #F2DB5E #F7E897 #FBF4CF

Accessibility & contrast

On white

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

On black

15.07
#F2DB5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB5E
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB5E#FFFFFF#000000##000000
##F2DB5E1.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED650
Deuteranopia (green-blind)
#F5DE64
Tritanopia (blue-blind)
#FFCCC0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2db5e;
/* rgb */ color: rgb(242, 219, 94);
/* oklch */ color: oklch(88.7% 0.145 98.9);
Tailwind
colors: {
  custom: {
    50: '#fae590',
    500: '#f2db5e',
    950: '#000000',
  },
}
SCSS
$custom: #f2db5e;
$custom-light: #fae590;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db5e",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 94
  },
  "hsl": {
    "h": 50.676,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.88718,
    "c": 0.14537,
    "h": 98.9
  },
  "luminance": 0.70348
}

Semantic roles & 50–950 ramp

primary
#F2DB5E
secondary
#3148C3
accent
#26E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2DB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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