#F2D76E#F2D76E

#F2D76E is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 88.1% C 0.128 H 95.2°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#F2D76E
RGBrgb(242, 215, 110)
HSLhsl(48, 84%, 69%)
HSVhsv(48, 55%, 95%)
CMYKcmyk(0%, 11.2%, 54.5%, 5.1%)
CIE-LABlab(86.31, -3.35, 54.53)
CIE-LCHlch(86.31, 54.63, 93.51°)
OKLaboklab(88.09% -0.0116 0.128)
OKLCHoklch(88.09% 0.128 95.2)
XYZxyz(63.7353, 68.6067, 24.6341)
Luminance0.6860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D76E #6E89F2
analogous
#F2956E #F2D76E #CBF26E
triadic
#F2D76E #6EF2D7 #D76EF2
tetradic
#F2D76E #6EF295 #6E89F2 #F26ECB
square
#F2D76E #6EF295 #6E89F2 #F26ECB
split-complementary
#F2D76E #6ECBF2 #956EF2
monochromatic
#D3AB13 #EDC836 #F2D76E #F7E6A6 #FCF6DE

Accessibility & contrast

On white

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

On black

14.72
#F2D76E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D76E
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D76E#FFFFFF#000000##000000
##F2D76E1.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D364
Deuteranopia (green-blind)
#F0DC72
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d76e;
/* rgb */ color: rgb(242, 215, 110);
/* oklch */ color: oklch(88.1% 0.128 95.2);
Tailwind
colors: {
  custom: {
    50: '#f9e39a',
    500: '#f2d76e',
    950: '#000000',
  },
}
SCSS
$custom: #f2d76e;
$custom-light: #f9e39a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d76e",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 110
  },
  "hsl": {
    "h": 47.727,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88088,
    "c": 0.12848,
    "h": 95.2
  },
  "luminance": 0.68604
}

Semantic roles & 50–950 ramp

primary
#F2D76E
secondary
#3957CB
accent
#32E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D76E

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

Preview Lab → · Contrast checker → · Palette generator →

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