#F2D76A#F2D76A

#F2D76A is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 88.0% C 0.132 H 95.6°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#F2D76A
RGBrgb(242, 215, 106)
HSLhsl(48, 84%, 68%)
HSVhsv(48, 56%, 95%)
CMYKcmyk(0%, 11.2%, 56.2%, 5.1%)
CIE-LABlab(86.27, -3.65, 56.33)
CIE-LCHlch(86.27, 56.45, 93.71°)
OKLaboklab(88.04% -0.0129 0.1314)
OKLCHoklch(88.04% 0.132 95.6)
XYZxyz(63.5224, 68.5216, 23.5129)
Luminance0.6852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D76A #6A85F2
analogous
#F2936A #F2D76A #C9F26A
triadic
#F2D76A #6AF2D7 #D76AF2
tetradic
#F2D76A #6AF293 #6A85F2 #F26AC9
square
#F2D76A #6AF293 #6A85F2 #F26AC9
split-complementary
#F2D76A #6AC9F2 #936AF2
monochromatic
#CFAA12 #EDC832 #F2D76A #F7E6A2 #FCF5DB

Accessibility & contrast

On white

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

On black

14.70
#F2D76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D76A
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D76A#FFFFFF#000000##000000
##F2D76A1.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD35F
Deuteranopia (green-blind)
#F1DC6F
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d76a;
/* rgb */ color: rgb(242, 215, 106);
/* oklch */ color: oklch(88.0% 0.132 95.6);
Tailwind
colors: {
  custom: {
    50: '#f9e398',
    500: '#f2d76a',
    950: '#000000',
  },
}
SCSS
$custom: #f2d76a;
$custom-light: #f9e398;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d76a",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 106
  },
  "hsl": {
    "h": 48.088,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.8804,
    "c": 0.13207,
    "h": 95.6
  },
  "luminance": 0.68519
}

Semantic roles & 50–950 ramp

primary
#F2D76A
secondary
#3653CB
accent
#31E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D76A

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

Preview Lab → · Contrast checker → · Palette generator →

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