#F2DB62#F2DB62

#F2DB62 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.8% C 0.142 H 98.6°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#F2DB62
RGBrgb(242, 219, 98)
HSLhsl(50, 85%, 67%)
HSVhsv(50, 60%, 95%)
CMYKcmyk(0%, 9.5%, 59.5%, 5.1%)
CIE-LABlab(87.20, -6.25, 61.00)
CIE-LCHlch(87.20, 61.31, 95.85°)
OKLaboklab(88.76% -0.0213 0.1405)
OKLCHoklch(88.76% 0.142 98.6)
XYZxyz(64.1566, 70.4249, 21.7669)
Luminance0.7042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB62 #6279F2
analogous
#F29362 #F2DB62 #C1F262
triadic
#F2DB62 #62F2DB #DB62F2
tetradic
#F2DB62 #62F293 #6279F2 #F262C1
square
#F2DB62 #62F293 #6279F2 #F262C1
split-complementary
#F2DB62 #62C1F2 #9362F2
monochromatic
#C9AC11 #EDCE29 #F2DB62 #F7E89B #FBF5D3

Accessibility & contrast

On white

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

On black

15.08
#F2DB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB62
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB62#FFFFFF#000000##000000
##F2DB621.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED655
Deuteranopia (green-blind)
#F4DE68
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2db62;
/* rgb */ color: rgb(242, 219, 98);
/* oklch */ color: oklch(88.8% 0.142 98.6);
Tailwind
colors: {
  custom: {
    50: '#f9e593',
    500: '#f2db62',
    950: '#000000',
  },
}
SCSS
$custom: #f2db62;
$custom-light: #f9e593;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db62",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 98
  },
  "hsl": {
    "h": 50.417,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.88758,
    "c": 0.14213,
    "h": 98.6
  },
  "luminance": 0.70422
}

Semantic roles & 50–950 ramp

primary
#F2DB62
secondary
#334AC6
accent
#28E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2DB62

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

Preview Lab → · Contrast checker → · Palette generator →

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