#F2DB58#F2DB58

#F2DB58 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.7% C 0.150 H 99.3°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#F2DB58
RGBrgb(242, 219, 88)
HSLhsl(51, 86%, 65%)
HSVhsv(51, 64%, 95%)
CMYKcmyk(0%, 9.5%, 63.6%, 5.1%)
CIE-LABlab(87.12, -6.88, 65.18)
CIE-LCHlch(87.12, 65.55, 96.03°)
OKLaboklab(88.66% -0.0243 0.1481)
OKLCHoklch(88.66% 0.15 99.3)
XYZxyz(63.7136, 70.2477, 19.4337)
Luminance0.7025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB58 #586FF2
analogous
#F28E58 #F2DB58 #BCF258
triadic
#F2DB58 #58F2DB #DB58F2
tetradic
#F2DB58 #58F28E #586FF2 #F258BC
square
#F2DB58 #58F28E #586FF2 #F258BC
split-complementary
#F2DB58 #58BCF2 #8E58F2
monochromatic
#C1A60F #EECF1F #F2DB58 #F6E791 #FBF3CA

Accessibility & contrast

On white

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

On black

15.05
#F2DB58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB58
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB58#FFFFFF#000000##000000
##F2DB581.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2db58;
/* rgb */ color: rgb(242, 219, 88);
/* oklch */ color: oklch(88.7% 0.150 99.3);
Tailwind
colors: {
  custom: {
    50: '#fae58d',
    500: '#f2db58',
    950: '#000000',
  },
}
SCSS
$custom: #f2db58;
$custom-light: #fae58d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db58",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 88
  },
  "hsl": {
    "h": 51.039,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.88661,
    "c": 0.15003,
    "h": 99.3
  },
  "luminance": 0.70245
}

Semantic roles & 50–950 ramp

primary
#F2DB58
secondary
#3045BE
accent
#25E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2DB58

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

Preview Lab → · Contrast checker → · Palette generator →

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