#F2DB77#F2DB77

#F2DB77 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 89.0% C 0.123 H 96.7°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#F2DB77
RGBrgb(242, 219, 119)
HSLhsl(49, 83%, 71%)
HSVhsv(49, 51%, 95%)
CMYKcmyk(0%, 9.5%, 50.8%, 5.1%)
CIE-LABlab(87.42, -4.64, 51.60)
CIE-LCHlch(87.42, 51.81, 95.14°)
OKLaboklab(89% -0.0144 0.1224)
OKLCHoklch(89% 0.123 96.7)
XYZxyz(65.2814, 70.8748, 27.6907)
Luminance0.7087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB77 #778EF2
analogous
#F29D77 #F2DB77 #CCF277
triadic
#F2DB77 #77F2DB #DB77F2
tetradic
#F2DB77 #77F29D #778EF2 #F277CC
square
#F2DB77 #77F29D #778EF2 #F277CC
split-complementary
#F2DB77 #77CCF2 #9D77F2
monochromatic
#DAB515 #EDCC3F #F2DB77 #F7EAAF #FCF8E3

Accessibility & contrast

On white

1.38
#F2DB77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.17
#F2DB77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB77
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB77#FFFFFF#000000##000000
##F2DB771.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD76E
Deuteranopia (green-blind)
#F3DE7B
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2db77;
/* rgb */ color: rgb(242, 219, 119);
/* oklch */ color: oklch(89.0% 0.123 96.7);
Tailwind
colors: {
  custom: {
    50: '#f9e5a0',
    500: '#f2db77',
    950: '#000000',
  },
}
SCSS
$custom: #f2db77;
$custom-light: #f9e5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db77",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 119
  },
  "hsl": {
    "h": 48.78,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89002,
    "c": 0.12325,
    "h": 96.7
  },
  "luminance": 0.70872
}

Semantic roles & 50–950 ramp

primary
#F2DB77
secondary
#415BCC
accent
#2FDF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2DB77

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

Preview Lab → · Contrast checker → · Palette generator →

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