#F2DB51#F2DB51

#F2DB51 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.6% C 0.155 H 99.7°. Best body text is #000000 at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#F2DB51
RGBrgb(242, 219, 81)
HSLhsl(51, 86%, 63%)
HSVhsv(51, 67%, 95%)
CMYKcmyk(0%, 9.5%, 66.5%, 5.1%)
CIE-LABlab(87.06, -7.28, 67.97)
CIE-LCHlch(87.06, 68.36, 96.12°)
OKLaboklab(88.6% -0.0262 0.1529)
OKLCHoklch(88.6% 0.155 99.7)
XYZxyz(63.4375, 70.1372, 17.9793)
Luminance0.7013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB51 #5168F2
analogous
#F28B51 #F2DB51 #B8F251
triadic
#F2DB51 #51F2DB #DB51F2
tetradic
#F2DB51 #51F28B #5168F2 #F251B8
square
#F2DB51 #51F28B #5168F2 #F251B8
split-complementary
#F2DB51 #51B8F2 #8B51F2
monochromatic
#BBA20E #EECF18 #F2DB51 #F6E78A #FBF3C3

Accessibility & contrast

On white

1.40
#F2DB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.03
#F2DB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB51
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB51#FFFFFF#000000##000000
##F2DB511.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53F
Deuteranopia (green-blind)
#F5DE59
Tritanopia (blue-blind)
#FFCCBF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2db51;
/* rgb */ color: rgb(242, 219, 81);
/* oklch */ color: oklch(88.6% 0.155 99.7);
Tailwind
colors: {
  custom: {
    50: '#fae589',
    500: '#f2db51',
    950: '#000000',
  },
}
SCSS
$custom: #f2db51;
$custom-light: #fae589;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db51",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 81
  },
  "hsl": {
    "h": 51.429,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.88601,
    "c": 0.1551,
    "h": 99.7
  },
  "luminance": 0.70134
}

Semantic roles & 50–950 ramp

primary
#F2DB51
secondary
#2E42B9
accent
#23E303
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2DB51

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

Preview Lab → · Contrast checker → · Palette generator →

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