#FEC157#FEC157

#FEC157 is a very light, vivid orange. Relative luminance 0.599; OKLCH L 84.7% C 0.140 H 78.6°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#FEC157
RGBrgb(254, 193, 87)
HSLhsl(38, 99%, 67%)
HSVhsv(38, 66%, 100%)
CMYKcmyk(0%, 24%, 65.7%, 0.4%)
CIE-LABlab(81.79, 11.36, 60.21)
CIE-LCHlch(81.79, 61.27, 79.31°)
OKLaboklab(84.72% 0.0276 0.137)
OKLCHoklch(84.72% 0.14 78.6)
XYZxyz(61.6670, 59.9033, 17.3295)
Luminance0.5990 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEC157 #5794FE
analogous
#FE6E57 #FEC157 #E7FE57
triadic
#FEC157 #57FEC1 #C157FE
tetradic
#FEC157 #57FE6E #5794FE #FE57E7
square
#FEC157 #57FE6E #5794FE #FE57E7
split-complementary
#FEC157 #57E7FE #6E57FE
monochromatic
#D98A01 #FEAB1A #FEC157 #FED794 #FFEED1

Accessibility & contrast

On white

1.62
#FEC157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#FEC157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEC157
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEC157#FFFFFF#000000##000000
##FEC1571.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C24B
Deuteranopia (green-blind)
#E7D15B
Tritanopia (blue-blind)
#FFB0AA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #fec157;
/* rgb */ color: rgb(254, 193, 87);
/* oklch */ color: oklch(84.7% 0.140 78.6);
Tailwind
colors: {
  custom: {
    50: '#ffd38b',
    500: '#fec157',
    950: '#000000',
  },
}
SCSS
$custom: #fec157;
$custom-light: #ffd38b;
$custom-dark: #000000;
JSON
{
  "hex": "#fec157",
  "rgb": {
    "r": 254,
    "g": 193,
    "b": 87
  },
  "hsl": {
    "h": 38.084,
    "s": 98.817,
    "l": 66.863
  },
  "oklch": {
    "l": 0.84717,
    "c": 0.13974,
    "h": 78.6
  },
  "luminance": 0.59899
}

Semantic roles & 50–950 ramp

primary
#FEC157
secondary
#2665D3
accent
#54E600
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#19140C
muted
#87837F

Preview Lab

Preview with #FEC157

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

Preview Lab → · Contrast checker → · Palette generator →

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