#ECB74F#ECB74F

#ECB74F is a light, vivid orange. Relative luminance 0.523; OKLCH L 80.9% C 0.134 H 81.5°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#ECB74F
RGBrgb(236, 183, 79)
HSLhsl(40, 81%, 62%)
HSVhsv(40, 67%, 93%)
CMYKcmyk(0%, 22.5%, 66.5%, 7.5%)
CIE-LABlab(77.44, 8.63, 58.51)
CIE-LCHlch(77.44, 59.15, 81.61°)
OKLaboklab(80.87% 0.0198 0.1327)
OKLCHoklch(80.87% 0.134 81.5)
XYZxyz(52.9400, 52.2680, 14.6960)
Luminance0.5226 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECB74F #4F84EC
analogous
#EC694F #ECB74F #D3EC4F
triadic
#ECB74F #4FECB7 #B74FEC
tetradic
#ECB74F #4FEC69 #4F84EC #EC4FD3
square
#ECB74F #4FEC69 #4F84EC #EC4FD3
split-complementary
#ECB74F #4FD3EC #694FEC
monochromatic
#AE7913 #E5A019 #ECB74F #F2CE86 #F8E4BD

Accessibility & contrast

On white

1.83
#ECB74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#ECB74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECB74F
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECB74F#FFFFFF#000000##000000
##ECB74F1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB743
Deuteranopia (green-blind)
#DAC553
Tritanopia (blue-blind)
#FFA7A1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ecb74f;
/* rgb */ color: rgb(236, 183, 79);
/* oklch */ color: oklch(80.9% 0.134 81.5);
Tailwind
colors: {
  custom: {
    50: '#f6cc85',
    500: '#ecb74f',
    950: '#000000',
  },
}
SCSS
$custom: #ecb74f;
$custom-light: #f6cc85;
$custom-dark: #000000;
JSON
{
  "hex": "#ecb74f",
  "rgb": {
    "r": 236,
    "g": 183,
    "b": 79
  },
  "hsl": {
    "h": 39.745,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.80872,
    "c": 0.13417,
    "h": 81.5
  },
  "luminance": 0.52264
}

Semantic roles & 50–950 ramp

primary
#ECB74F
secondary
#315BAE
accent
#50DD09
background
#FFFDFB
surface
#FFF9F2
border
#D7D2CC
text
#18130B
muted
#86827E

Preview Lab

Preview with #ECB74F

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

Preview Lab → · Contrast checker → · Palette generator →

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