#F2D677#F2D677

#F2D677 is a very light, moderate yellow. Relative luminance 0.683; OKLCH L 88.0% C 0.119 H 93.4°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#F2D677
RGBrgb(242, 214, 119)
HSLhsl(46, 83%, 71%)
HSVhsv(46, 51%, 95%)
CMYKcmyk(0%, 11.6%, 50.8%, 5.1%)
CIE-LABlab(86.16, -2.10, 50.08)
CIE-LCHlch(86.16, 50.12, 92.40°)
OKLaboklab(88% -0.007 0.1191)
OKLCHoklch(88% 0.119 93.4)
XYZxyz(63.9965, 68.3051, 27.2624)
Luminance0.6830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D677 #7793F2
analogous
#F29877 #F2D677 #D1F277
triadic
#F2D677 #77F2D6 #D677F2
tetradic
#F2D677 #77F298 #7793F2 #F277D1
square
#F2D677 #77F298 #7793F2 #F277D1
split-complementary
#F2D677 #77D1F2 #9877F2
monochromatic
#DAAD15 #EDC53F #F2D677 #F7E7AF #FCF7E3

Accessibility & contrast

On white

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

On black

14.66
#F2D677 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D677
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D677#FFFFFF#000000##000000
##F2D6771.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D36F
Deuteranopia (green-blind)
#EFDB7B
Tritanopia (blue-blind)
#FFC9C0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d677;
/* rgb */ color: rgb(242, 214, 119);
/* oklch */ color: oklch(88.0% 0.119 93.4);
Tailwind
colors: {
  custom: {
    50: '#f9e2a0',
    500: '#f2d677',
    950: '#000000',
  },
}
SCSS
$custom: #f2d677;
$custom-light: #f9e2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d677",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 119
  },
  "hsl": {
    "h": 46.341,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88002,
    "c": 0.11927,
    "h": 93.4
  },
  "luminance": 0.68302
}

Semantic roles & 50–950 ramp

primary
#F2D677
secondary
#4161CC
accent
#38DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D677

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

Preview Lab → · Contrast checker → · Palette generator →

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