#ECC274#ECC274

#ECC274 is a very light, moderate orange. Relative luminance 0.577; OKLCH L 83.5% C 0.108 H 81.9°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#ECC274
RGBrgb(236, 194, 116)
HSLhsl(39, 76%, 69%)
HSVhsv(39, 51%, 93%)
CMYKcmyk(0%, 17.8%, 50.8%, 7.5%)
CIE-LABlab(80.56, 5.53, 44.59)
CIE-LCHlch(80.56, 44.93, 82.93°)
OKLaboklab(83.45% 0.0153 0.1068)
OKLCHoklch(83.45% 0.108 81.9)
XYZxyz(57.0386, 57.6805, 24.6487)
Luminance0.5768 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC274 #749EEC
analogous
#EC8674 #ECC274 #DAEC74
triadic
#ECC274 #74ECC2 #C274EC
tetradic
#ECC274 #74EC86 #749EEC #EC74DA
square
#ECC274 #74EC86 #749EEC #EC74DA
split-complementary
#ECC274 #74DAEC #8674EC
monochromatic
#CA8D1C #E5AA3E #ECC274 #F3DAAA #FBF1E0

Accessibility & contrast

On white

1.68
#ECC274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#ECC274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC274
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC274#FFFFFF#000000##000000
##ECC2741.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C26E
Deuteranopia (green-blind)
#DECC76
Tritanopia (blue-blind)
#FDB5AF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ecc274;
/* rgb */ color: rgb(236, 194, 116);
/* oklch */ color: oklch(83.5% 0.108 81.9);
Tailwind
colors: {
  custom: {
    50: '#f5d49d',
    500: '#ecc274',
    950: '#000000',
  },
}
SCSS
$custom: #ecc274;
$custom-light: #f5d49d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc274",
  "rgb": {
    "r": 236,
    "g": 194,
    "b": 116
  },
  "hsl": {
    "h": 39,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.83451,
    "c": 0.10786,
    "h": 81.9
  },
  "luminance": 0.57677
}

Semantic roles & 50–950 ramp

primary
#ECC274
secondary
#406EC5
accent
#54D80D
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #ECC274

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

Preview Lab → · Contrast checker → · Palette generator →

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