#ECC248#ECC248

#ECC248 is a very light, vivid orange. Relative luminance 0.569; OKLCH L 83.0% C 0.144 H 89.5°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#ECC248
RGBrgb(236, 194, 72)
HSLhsl(45, 81%, 60%)
HSVhsv(45, 69%, 93%)
CMYKcmyk(0%, 17.8%, 69.5%, 7.5%)
CIE-LABlab(80.12, 2.50, 64.27)
CIE-LCHlch(80.12, 64.32, 87.77°)
OKLaboklab(82.96% 0.0012 0.1438)
OKLCHoklch(82.96% 0.144 89.5)
XYZxyz(55.0566, 56.8877, 14.2102)
Luminance0.5688 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC248 #4872EC
analogous
#EC7048 #ECC248 #C4EC48
triadic
#ECC248 #48ECC2 #C248EC
tetradic
#ECC248 #48EC70 #4872EC #EC48C4
square
#ECC248 #48EC70 #4872EC #EC48C4
split-complementary
#ECC248 #48C4EC #7048EC
monochromatic
#A88211 #E0AC17 #ECC248 #F2D47F #F8E7B7

Accessibility & contrast

On white

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

On black

12.38
#ECC248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC248
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC248#FFFFFF#000000##000000
##ECC2481.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C038
Deuteranopia (green-blind)
#E2CC4E
Tritanopia (blue-blind)
#FFB2A9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ecc248;
/* rgb */ color: rgb(236, 194, 72);
/* oklch */ color: oklch(83.0% 0.144 89.5);
Tailwind
colors: {
  custom: {
    50: '#f6d481',
    500: '#ecc248',
    950: '#000000',
  },
}
SCSS
$custom: #ecc248;
$custom-light: #f6d481;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc248",
  "rgb": {
    "r": 236,
    "g": 194,
    "b": 72
  },
  "hsl": {
    "h": 44.634,
    "s": 81.188,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82958,
    "c": 0.14375,
    "h": 89.5
  },
  "luminance": 0.56884
}

Semantic roles & 50–950 ramp

primary
#ECC248
secondary
#2F4EAA
accent
#3FDE08
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #ECC248

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

Preview Lab → · Contrast checker → · Palette generator →

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