#F2D762#F2D762

#F2D762 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 88.0% C 0.139 H 96.4°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#F2D762
RGBrgb(242, 215, 98)
HSLhsl(49, 85%, 67%)
HSVhsv(49, 60%, 95%)
CMYKcmyk(0%, 11.2%, 59.5%, 5.1%)
CIE-LABlab(86.19, -4.22, 59.86)
CIE-LCHlch(86.19, 60.01, 94.04°)
OKLaboklab(87.95% -0.0155 0.1381)
OKLCHoklch(87.95% 0.139 96.4)
XYZxyz(63.1256, 68.3629, 21.4232)
Luminance0.6836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D762 #627DF2
analogous
#F28F62 #F2D762 #C5F262
triadic
#F2D762 #62F2D7 #D762F2
tetradic
#F2D762 #62F28F #627DF2 #F262C5
square
#F2D762 #62F28F #627DF2 #F262C5
split-complementary
#F2D762 #62C5F2 #8F62F2
monochromatic
#C9A611 #EDC929 #F2D762 #F7E59B #FBF4D3

Accessibility & contrast

On white

1.43
#F2D762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#F2D762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D762
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D762#FFFFFF#000000##000000
##F2D7621.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD356
Deuteranopia (green-blind)
#F1DB67
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d762;
/* rgb */ color: rgb(242, 215, 98);
/* oklch */ color: oklch(88.0% 0.139 96.4);
Tailwind
colors: {
  custom: {
    50: '#f9e393',
    500: '#f2d762',
    950: '#000000',
  },
}
SCSS
$custom: #f2d762;
$custom-light: #f9e393;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d762",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 48.75,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87952,
    "c": 0.13896,
    "h": 96.4
  },
  "luminance": 0.6836
}

Semantic roles & 50–950 ramp

primary
#F2D762
secondary
#334EC6
accent
#2EE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D762

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

Preview Lab → · Contrast checker → · Palette generator →

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