#ECD262#ECD262

#ECD262 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.4% C 0.134 H 96.4°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#ECD262
RGBrgb(236, 210, 98)
HSLhsl(49, 78%, 65%)
HSVhsv(49, 58%, 93%)
CMYKcmyk(0%, 11%, 58.5%, 7.5%)
CIE-LABlab(84.39, -4.15, 57.69)
CIE-LCHlch(84.39, 57.84, 94.11°)
OKLaboklab(86.4% -0.0149 0.1336)
OKLCHoklch(86.4% 0.134 96.4)
XYZxyz(59.8457, 64.8106, 20.9103)
Luminance0.6481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD262 #627CEC
analogous
#EC8D62 #ECD262 #C1EC62
triadic
#ECD262 #62ECD2 #D262EC
tetradic
#ECD262 #62EC8D #627CEC #EC62C1
square
#ECD262 #62EC8D #627CEC #EC62C1
split-complementary
#ECD262 #62C1EC #8D62EC
monochromatic
#BD9D17 #E5C22B #ECD262 #F3E299 #F9F1CF

Accessibility & contrast

On white

1.50
#ECD262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#ECD262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD262
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD262#FFFFFF#000000##000000
##ECD2621.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE57
Deuteranopia (green-blind)
#ECD667
Tritanopia (blue-blind)
#FDC4B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ecd262;
/* rgb */ color: rgb(236, 210, 98);
/* oklch */ color: oklch(86.4% 0.134 96.4);
Tailwind
colors: {
  custom: {
    50: '#f5df92',
    500: '#ecd262',
    950: '#000000',
  },
}
SCSS
$custom: #ecd262;
$custom-light: #f5df92;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd262",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 48.696,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86402,
    "c": 0.13441,
    "h": 96.4
  },
  "luminance": 0.64808
}

Semantic roles & 50–950 ramp

primary
#ECD262
secondary
#3750BC
accent
#32DB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD262

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

Preview Lab → · Contrast checker → · Palette generator →

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