#EDB240#EDB240

#EDB240 is a light, vivid orange. Relative luminance 0.502; OKLCH L 79.9% C 0.143 H 80.1°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#EDB240
RGBrgb(237, 178, 64)
HSLhsl(40, 83%, 59%)
HSVhsv(40, 73%, 93%)
CMYKcmyk(0%, 24.9%, 73%, 7.1%)
CIE-LABlab(76.20, 10.92, 63.58)
CIE-LCHlch(76.20, 64.51, 80.26°)
OKLaboklab(79.89% 0.0245 0.1407)
OKLCHoklch(79.89% 0.143 80.1)
XYZxyz(51.7743, 50.2194, 11.8159)
Luminance0.5021 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDB240 #407BED
analogous
#ED5C40 #EDB240 #D1ED40
triadic
#EDB240 #40EDB2 #B240ED
tetradic
#EDB240 #40ED5C #407BED #ED40D1
square
#EDB240 #40ED5C #407BED #ED40D1
split-complementary
#EDB240 #40D1ED #5C40ED
monochromatic
#A3710F #DB9715 #EDB240 #F2C978 #F8DFB0

Accessibility & contrast

On white

1.90
#EDB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#EDB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDB240
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDB240#FFFFFF#000000##000000
##EDB2401.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B330
Deuteranopia (green-blind)
#D7C245
Tritanopia (blue-blind)
#FFA19B
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #edb240;
/* rgb */ color: rgb(237, 178, 64);
/* oklch */ color: oklch(79.9% 0.143 80.1);
Tailwind
colors: {
  custom: {
    50: '#f8c87c',
    500: '#edb240',
    950: '#000000',
  },
}
SCSS
$custom: #edb240;
$custom-light: #f8c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#edb240",
  "rgb": {
    "r": 237,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 39.538,
    "s": 82.775,
    "l": 59.02
  },
  "oklch": {
    "l": 0.79888,
    "c": 0.14287,
    "h": 80.1
  },
  "luminance": 0.50215
}

Semantic roles & 50–950 ramp

primary
#EDB240
secondary
#2C55A5
accent
#74F92F
background
#FFFDFB
surface
#FFF9F2
border
#D7D2CC
text
#18130A
muted
#86827D

Preview Lab

Preview with #EDB240

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

Preview Lab → · Contrast checker → · Palette generator →

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