#ECC243#ECC243

#ECC243 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.9% C 0.147 H 90.0°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#ECC243
RGBrgb(236, 194, 67)
HSLhsl(45, 82%, 59%)
HSVhsv(45, 72%, 93%)
CMYKcmyk(0%, 17.8%, 71.6%, 7.5%)
CIE-LABlab(80.08, 2.26, 66.21)
CIE-LCHlch(80.08, 66.25, 88.04°)
OKLaboklab(82.92% -0.0001 0.147)
OKLCHoklch(82.92% 0.147 90)
XYZxyz(54.9001, 56.8251, 13.3858)
Luminance0.5682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC243 #436DEC
analogous
#EC6E43 #ECC243 #C1EC43
triadic
#ECC243 #43ECC2 #C243EC
tetradic
#ECC243 #43EC6E #436DEC #EC43C1
square
#ECC243 #43EC6E #436DEC #EC43C1
split-complementary
#ECC243 #43C1EC #6E43EC
monochromatic
#A47F11 #DCAB16 #ECC243 #F2D47B #F7E6B2

Accessibility & contrast

On white

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

On black

12.36
#ECC243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC243
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC243#FFFFFF#000000##000000
##ECC2431.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C030
Deuteranopia (green-blind)
#E2CB4A
Tritanopia (blue-blind)
#FFB2A8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ecc243;
/* rgb */ color: rgb(236, 194, 67);
/* oklch */ color: oklch(82.9% 0.147 90.0);
Tailwind
colors: {
  custom: {
    50: '#f6d47f',
    500: '#ecc243',
    950: '#000000',
  },
}
SCSS
$custom: #ecc243;
$custom-light: #f6d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc243",
  "rgb": {
    "r": 236,
    "g": 194,
    "b": 67
  },
  "hsl": {
    "h": 45.089,
    "s": 81.643,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82919,
    "c": 0.14696,
    "h": 90
  },
  "luminance": 0.56822
}

Semantic roles & 50–950 ramp

primary
#ECC243
secondary
#2D4BA6
accent
#62F830
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140A
muted
#86837D

Preview Lab

Preview with #ECC243

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

Preview Lab → · Contrast checker → · Palette generator →

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