#ECC251#ECC251

#ECC251 is a very light, vivid orange. Relative luminance 0.570; OKLCH L 83.0% C 0.137 H 88.5°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#ECC251
RGBrgb(236, 194, 81)
HSLhsl(44, 80%, 62%)
HSVhsv(44, 66%, 93%)
CMYKcmyk(0%, 17.8%, 65.7%, 7.5%)
CIE-LABlab(80.19, 2.99, 60.58)
CIE-LCHlch(80.19, 60.66, 87.17°)
OKLaboklab(83.04% 0.0037 0.1374)
OKLCHoklch(83.04% 0.137 88.5)
XYZxyz(55.3720, 57.0139, 15.8712)
Luminance0.5701 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC251 #517BEC
analogous
#EC7551 #ECC251 #C9EC51
triadic
#ECC251 #51ECC2 #C251EC
tetradic
#ECC251 #51EC75 #517BEC #EC51C9
square
#ECC251 #51EC75 #517BEC #EC51C9
split-complementary
#ECC251 #51C9EC #7551EC
monochromatic
#AF8513 #E6AF1A #ECC251 #F2D588 #F8E9BF

Accessibility & contrast

On white

1.69
#ECC251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#ECC251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC251
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC251#FFFFFF#000000##000000
##ECC2511.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C044
Deuteranopia (green-blind)
#E1CC56
Tritanopia (blue-blind)
#FFB3AA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ecc251;
/* rgb */ color: rgb(236, 194, 81);
/* oklch */ color: oklch(83.0% 0.137 88.5);
Tailwind
colors: {
  custom: {
    50: '#f6d487',
    500: '#ecc251',
    950: '#000000',
  },
}
SCSS
$custom: #ecc251;
$custom-light: #f6d487;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc251",
  "rgb": {
    "r": 236,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 43.742,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.83037,
    "c": 0.13747,
    "h": 88.5
  },
  "luminance": 0.57011
}

Semantic roles & 50–950 ramp

primary
#ECC251
secondary
#3154B0
accent
#42DD09
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC251

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

Preview Lab → · Contrast checker → · Palette generator →

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