#E2C261#E2C261

#E2C261 is a very light, vivid yellow. Relative luminance 0.556; OKLCH L 82.2% C 0.122 H 91.3°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#E2C261
RGBrgb(226, 194, 97)
HSLhsl(45, 69%, 63%)
HSVhsv(45, 57%, 89%)
CMYKcmyk(0%, 14.2%, 57.1%, 11.4%)
CIE-LABlab(79.40, -0.12, 52.21)
CIE-LCHlch(79.40, 52.21, 90.14°)
OKLaboklab(82.24% -0.0028 0.1219)
OKLCHoklch(82.24% 0.122 91.3)
XYZxyz(52.8157, 55.6181, 19.2603)
Luminance0.5562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C261 #6181E2
analogous
#E28161 #E2C261 #C2E261
triadic
#E2C261 #61E2C2 #C261E2
tetradic
#E2C261 #61E281 #6181E2 #E261C2
square
#E2C261 #61E281 #6181E2 #E261C2
split-complementary
#E2C261 #61C2E2 #8161E2
monochromatic
#A9871F #D9AE2D #E2C261 #EBD695 #F5EAC8

Accessibility & contrast

On white

1.73
#E2C261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#E2C261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C261
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C261#FFFFFF#000000##000000
##E2C2611.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF58
Deuteranopia (green-blind)
#DCC965
Tritanopia (blue-blind)
#F2B5AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e2c261;
/* rgb */ color: rgb(226, 194, 97);
/* oklch */ color: oklch(82.2% 0.122 91.3);
Tailwind
colors: {
  custom: {
    50: '#eed491',
    500: '#e2c261',
    950: '#000000',
  },
}
SCSS
$custom: #e2c261;
$custom-light: #eed491;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c261",
  "rgb": {
    "r": 226,
    "g": 194,
    "b": 97
  },
  "hsl": {
    "h": 45.116,
    "s": 68.984,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82243,
    "c": 0.12191,
    "h": 91.3
  },
  "luminance": 0.55615
}

Semantic roles & 50–950 ramp

primary
#E2C261
secondary
#3C57AB
accent
#43D115
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2C261

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

Preview Lab → · Contrast checker → · Palette generator →

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