#FFC157#FFC157

#FFC157 is a very light, vivid orange. Relative luminance 0.601; OKLCH L 84.8% C 0.140 H 78.2°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#FFC157
RGBrgb(255, 193, 87)
HSLhsl(38, 100%, 67%)
HSVhsv(38, 66%, 100%)
CMYKcmyk(0%, 24.3%, 65.9%, 0%)
CIE-LABlab(81.89, 11.78, 60.35)
CIE-LCHlch(81.89, 61.49, 78.96°)
OKLaboklab(84.82% 0.0288 0.1373)
OKLCHoklch(84.82% 0.14 78.2)
XYZxyz(62.0340, 60.0926, 17.3467)
Luminance0.6009 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFC157 #5795FF
analogous
#FF6D57 #FFC157 #E9FF57
triadic
#FFC157 #57FFC1 #C157FF
tetradic
#FFC157 #57FF6D #5795FF #FF57E9
square
#FFC157 #57FF6D #5795FF #FF57E9
split-complementary
#FFC157 #57E9FF #6D57FF
monochromatic
#DC8B00 #FFAA1A #FFC157 #FFD894 #FFEED1

Accessibility & contrast

On white

1.61
#FFC157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#FFC157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFC157
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFC157#FFFFFF#000000##000000
##FFC1571.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34B
Deuteranopia (green-blind)
#E8D25A
Tritanopia (blue-blind)
#FFB0AA
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ffc157;
/* rgb */ color: rgb(255, 193, 87);
/* oklch */ color: oklch(84.8% 0.140 78.2);
Tailwind
colors: {
  custom: {
    50: '#ffd38b',
    500: '#ffc157',
    950: '#000000',
  },
}
SCSS
$custom: #ffc157;
$custom-light: #ffd38b;
$custom-dark: #000000;
JSON
{
  "hex": "#ffc157",
  "rgb": {
    "r": 255,
    "g": 193,
    "b": 87
  },
  "hsl": {
    "h": 37.857,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.84821,
    "c": 0.14024,
    "h": 78.2
  },
  "luminance": 0.60088
}

Semantic roles & 50–950 ramp

primary
#FFC157
secondary
#2666D5
accent
#55E600
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#19140C
muted
#87837F

Preview Lab

Preview with #FFC157

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

Preview Lab → · Contrast checker → · Palette generator →

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