#EDC157#EDC157

#EDC157 is a very light, vivid orange. Relative luminance 0.568; OKLCH L 83.0% C 0.133 H 86.5°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#EDC157
RGBrgb(237, 193, 87)
HSLhsl(42, 81%, 64%)
HSVhsv(42, 63%, 93%)
CMYKcmyk(0%, 18.6%, 63.3%, 7.1%)
CIE-LABlab(80.09, 4.29, 57.87)
CIE-LCHlch(80.09, 58.03, 85.76°)
OKLaboklab(83% 0.0081 0.1325)
OKLCHoklch(83% 0.133 86.5)
XYZxyz(55.7182, 56.8360, 17.0507)
Luminance0.5683 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDC157 #5783ED
analogous
#ED7657 #EDC157 #CEED57
triadic
#EDC157 #57EDC1 #C157ED
tetradic
#EDC157 #57ED76 #5783ED #ED57CE
square
#EDC157 #57ED76 #5783ED #ED57CE
split-complementary
#EDC157 #57CEED #7657ED
monochromatic
#B68614 #E7AD20 #EDC157 #F3D58E #F9EAC6

Accessibility & contrast

On white

1.70
#EDC157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#EDC157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDC157
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDC157#FFFFFF#000000##000000
##EDC1571.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04C
Deuteranopia (green-blind)
#E0CB5B
Tritanopia (blue-blind)
#FFB2AA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #edc157;
/* rgb */ color: rgb(237, 193, 87);
/* oklch */ color: oklch(83.0% 0.133 86.5);
Tailwind
colors: {
  custom: {
    50: '#f6d38a',
    500: '#edc157',
    950: '#000000',
  },
}
SCSS
$custom: #edc157;
$custom-light: #f6d38a;
$custom-dark: #000000;
JSON
{
  "hex": "#edc157",
  "rgb": {
    "r": 237,
    "g": 193,
    "b": 87
  },
  "hsl": {
    "h": 42.4,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82997,
    "c": 0.13275,
    "h": 86.5
  },
  "luminance": 0.56833
}

Semantic roles & 50–950 ramp

primary
#EDC157
secondary
#3359B6
accent
#47DD09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EDC157

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

Preview Lab → · Contrast checker → · Palette generator →

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