#F2D76B#F2D76B

#F2D76B is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 88.1% C 0.131 H 95.5°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#F2D76B
RGBrgb(242, 215, 107)
HSLhsl(48, 84%, 68%)
HSVhsv(48, 56%, 95%)
CMYKcmyk(0%, 11.2%, 55.8%, 5.1%)
CIE-LABlab(86.28, -3.58, 55.88)
CIE-LCHlch(86.28, 56.00, 93.66°)
OKLaboklab(88.05% -0.0126 0.1306)
OKLCHoklch(88.05% 0.131 95.5)
XYZxyz(63.5747, 68.5425, 23.7884)
Luminance0.6854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D76B #6B86F2
analogous
#F2936B #F2D76B #C9F26B
triadic
#F2D76B #6BF2D7 #D76BF2
tetradic
#F2D76B #6BF293 #6B86F2 #F26BC9
square
#F2D76B #6BF293 #6B86F2 #F26BC9
split-complementary
#F2D76B #6BC9F2 #936BF2
monochromatic
#D0AA12 #EDC833 #F2D76B #F7E6A3 #FCF5DC

Accessibility & contrast

On white

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

On black

14.71
#F2D76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D76B
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D76B#FFFFFF#000000##000000
##F2D76B1.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d76b;
/* rgb */ color: rgb(242, 215, 107);
/* oklch */ color: oklch(88.1% 0.131 95.5);
Tailwind
colors: {
  custom: {
    50: '#f9e398',
    500: '#f2d76b',
    950: '#000000',
  },
}
SCSS
$custom: #f2d76b;
$custom-light: #f9e398;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d76b",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 107
  },
  "hsl": {
    "h": 48,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.88052,
    "c": 0.13119,
    "h": 95.5
  },
  "luminance": 0.6854
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2D76B

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

Preview Lab → · Contrast checker → · Palette generator →

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