#F2D279#F2D279

#F2D279 is a very light, moderate orange. Relative luminance 0.664; OKLCH L 87.2% C 0.114 H 90.2°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#F2D279
RGBrgb(242, 210, 121)
HSLhsl(44, 82%, 71%)
HSVhsv(44, 50%, 95%)
CMYKcmyk(0%, 13.2%, 50%, 5.1%)
CIE-LABlab(85.18, 0.12, 47.92)
CIE-LCHlch(85.18, 47.92, 89.86°)
OKLaboklab(87.24% -0.0003 0.1144)
OKLCHoklch(87.24% 0.114 90.2)
XYZxyz(63.1180, 66.3538, 27.5684)
Luminance0.6635 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D279 #7999F2
analogous
#F29579 #F2D279 #D5F279
triadic
#F2D279 #79F2D2 #D279F2
tetradic
#F2D279 #79F295 #7999F2 #F279D5
square
#F2D279 #79F295 #7999F2 #F279D5
split-complementary
#F2D279 #79D5F2 #9579F2
monochromatic
#DBA715 #EDBF41 #F2D279 #F7E5B1 #FCF6E3

Accessibility & contrast

On white

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

On black

14.27
#F2D279 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D279
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D279#FFFFFF#000000##000000
##F2D2791.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D071
Deuteranopia (green-blind)
#ECD97C
Tritanopia (blue-blind)
#FFC5BD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d279;
/* rgb */ color: rgb(242, 210, 121);
/* oklch */ color: oklch(87.2% 0.114 90.2);
Tailwind
colors: {
  custom: {
    50: '#f9dfa1',
    500: '#f2d279',
    950: '#000000',
  },
}
SCSS
$custom: #f2d279;
$custom-light: #f9dfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d279",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 121
  },
  "hsl": {
    "h": 44.132,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.87235,
    "c": 0.11444,
    "h": 90.2
  },
  "luminance": 0.66351
}

Semantic roles & 50–950 ramp

primary
#F2D279
secondary
#4367CC
accent
#40DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D279

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

Preview Lab → · Contrast checker → · Palette generator →

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