#F2D277#F2D277

#F2D277 is a very light, moderate orange. Relative luminance 0.663; OKLCH L 87.2% C 0.116 H 90.5°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#F2D277
RGBrgb(242, 210, 119)
HSLhsl(44, 83%, 71%)
HSVhsv(44, 51%, 95%)
CMYKcmyk(0%, 13.2%, 50.8%, 5.1%)
CIE-LABlab(85.15, -0.06, 48.86)
CIE-LCHlch(85.15, 48.86, 90.07°)
OKLaboklab(87.21% -0.0011 0.1164)
OKLCHoklch(87.21% 0.116 90.5)
XYZxyz(62.9966, 66.3053, 26.9291)
Luminance0.6630 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D277 #7797F2
analogous
#F29477 #F2D277 #D4F277
triadic
#F2D277 #77F2D2 #D277F2
tetradic
#F2D277 #77F294 #7797F2 #F277D4
square
#F2D277 #77F294 #7797F2 #F277D4
split-complementary
#F2D277 #77D4F2 #9477F2
monochromatic
#DAA715 #EDC03F #F2D277 #F7E4AF #FCF6E3

Accessibility & contrast

On white

1.47
#F2D277 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#F2D277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D277
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D277#FFFFFF#000000##000000
##F2D2771.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF6F
Deuteranopia (green-blind)
#ECD97A
Tritanopia (blue-blind)
#FFC5BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d277;
/* rgb */ color: rgb(242, 210, 119);
/* oklch */ color: oklch(87.2% 0.116 90.5);
Tailwind
colors: {
  custom: {
    50: '#f9dfa0',
    500: '#f2d277',
    950: '#000000',
  },
}
SCSS
$custom: #f2d277;
$custom-light: #f9dfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d277",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 119
  },
  "hsl": {
    "h": 44.39,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87207,
    "c": 0.11637,
    "h": 90.5
  },
  "luminance": 0.66302
}

Semantic roles & 50–950 ramp

primary
#F2D277
secondary
#4165CC
accent
#3FDF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D277

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

Preview Lab → · Contrast checker → · Palette generator →

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