#F2D77E#F2D77E

#F2D77E is a very light, moderate yellow. Relative luminance 0.690; OKLCH L 88.3% C 0.113 H 93.0°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#F2D77E
RGBrgb(242, 215, 126)
HSLhsl(46, 82%, 72%)
HSVhsv(46, 48%, 95%)
CMYKcmyk(0%, 11.2%, 47.9%, 5.1%)
CIE-LABlab(86.50, -1.99, 47.10)
CIE-LCHlch(86.50, 47.14, 92.42°)
OKLaboklab(88.3% -0.006 0.113)
OKLCHoklch(88.3% 0.113 93)
XYZxyz(64.6864, 68.9872, 29.6432)
Luminance0.6898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D77E #7E99F2
analogous
#F29D7E #F2D77E #D3F27E
triadic
#F2D77E #7EF2D7 #D77EF2
tetradic
#F2D77E #7EF29D #7E99F2 #F27ED3
square
#F2D77E #7EF29D #7E99F2 #F27ED3
split-complementary
#F2D77E #7ED3F2 #9D7EF2
monochromatic
#DFB016 #ECC646 #F2D77E #F8E8B6 #FCF6E3

Accessibility & contrast

On white

1.42
#F2D77E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.80
#F2D77E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D77E
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D77E#FFFFFF#000000##000000
##F2D77E1.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D477
Deuteranopia (green-blind)
#EFDC81
Tritanopia (blue-blind)
#FFCAC2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d77e;
/* rgb */ color: rgb(242, 215, 126);
/* oklch */ color: oklch(88.3% 0.113 93.0);
Tailwind
colors: {
  custom: {
    50: '#f8e3a5',
    500: '#f2d77e',
    950: '#000000',
  },
}
SCSS
$custom: #f2d77e;
$custom-light: #f8e3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d77e",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 126
  },
  "hsl": {
    "h": 46.034,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.88298,
    "c": 0.11314,
    "h": 93
  },
  "luminance": 0.68984
}

Semantic roles & 50–950 ramp

primary
#F2D77E
secondary
#4766CD
accent
#39DE07
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #F2D77E

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

Preview Lab → · Contrast checker → · Palette generator →

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