#FEB202#FEB202

#FEB202 is a light, vivid orange. Relative luminance 0.529; OKLCH L 81.5% C 0.170 H 77.7°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#FEB202
RGBrgb(254, 178, 2)
HSLhsl(42, 99%, 50%)
HSVhsv(42, 99%, 100%)
CMYKcmyk(0%, 29.9%, 99.2%, 0.4%)
CIE-LABlab(77.83, 16.74, 80.60)
CIE-LCHlch(77.83, 82.32, 78.27°)
OKLaboklab(81.5% 0.036 0.1659)
OKLCHoklch(81.5% 0.17 77.7)
XYZxyz(56.8089, 52.9211, 7.2803)
Luminance0.5292 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEB202 #024EFE
analogous
#FE3402 #FEB202 #CCFE02
triadic
#FEB202 #02FEB2 #B202FE
tetradic
#FEB202 #02FE34 #024EFE #FE02CC
square
#FEB202 #02FE34 #024EFE #FE02CC
split-complementary
#FEB202 #02CCFE #3402FE
monochromatic
#855D01 #C28801 #FEB202 #FEC53F #FED77C

Accessibility & contrast

On white

1.81
#FEB202 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#FEB202 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEB202
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEB202#FFFFFF#000000##000000
##FEB2021.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB500
Deuteranopia (green-blind)
#E0C816
Tritanopia (blue-blind)
#FF9D98
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #feb202;
/* rgb */ color: rgb(254, 178, 2);
/* oklch */ color: oklch(81.5% 0.170 77.7);
Tailwind
colors: {
  custom: {
    50: '#ffc866',
    500: '#feb202',
    950: '#000000',
  },
}
SCSS
$custom: #feb202;
$custom-light: #ffc866;
$custom-dark: #000000;
JSON
{
  "hex": "#feb202",
  "rgb": {
    "r": 254,
    "g": 178,
    "b": 2
  },
  "hsl": {
    "h": 41.905,
    "s": 99.213,
    "l": 50.196
  },
  "oklch": {
    "l": 0.81499,
    "c": 0.16977,
    "h": 77.7
  },
  "luminance": 0.52916
}

Semantic roles & 50–950 ramp

primary
#FEB202
secondary
#193B8B
accent
#69FF29
background
#FFFDFB
surface
#FFF9F0
border
#D7D2CB
text
#1A1307
muted
#87827C

Preview Lab

Preview with #FEB202

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

Preview Lab → · Contrast checker → · Palette generator →

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