#E7D268#E7D268

#E7D268 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 86.0% C 0.129 H 98.3°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#E7D268
RGBrgb(231, 210, 104)
HSLhsl(50, 73%, 66%)
HSVhsv(50, 55%, 91%)
CMYKcmyk(0%, 9.1%, 55%, 9.4%)
CIE-LABlab(84.01, -5.76, 54.40)
CIE-LCHlch(84.01, 54.70, 96.04°)
OKLaboklab(86.02% -0.0185 0.1273)
OKLCHoklch(86.02% 0.129 98.3)
XYZxyz(58.5024, 64.0840, 22.3819)
Luminance0.6408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D268 #687DE7
analogous
#E79268 #E7D268 #BCE768
triadic
#E7D268 #68E7D2 #D268E7
tetradic
#E7D268 #68E792 #687DE7 #E768BC
square
#E7D268 #68E792 #687DE7 #E768BC
split-complementary
#E7D268 #68BCE7 #9268E7
monochromatic
#B79E1D #DFC233 #E7D268 #EFE29D #F8F1D2

Accessibility & contrast

On white

1.52
#E7D268 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#E7D268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D268
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D268#FFFFFF#000000##000000
##E7D2681.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD5E
Deuteranopia (green-blind)
#E9D56D
Tritanopia (blue-blind)
#F7C5BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e7d268;
/* rgb */ color: rgb(231, 210, 104);
/* oklch */ color: oklch(86.0% 0.129 98.3);
Tailwind
colors: {
  custom: {
    50: '#f1df96',
    500: '#e7d268',
    950: '#000000',
  },
}
SCSS
$custom: #e7d268;
$custom-light: #f1df96;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d268",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 104
  },
  "hsl": {
    "h": 50.079,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.8602,
    "c": 0.1286,
    "h": 98.3
  },
  "luminance": 0.64082
}

Semantic roles & 50–950 ramp

primary
#E7D268
secondary
#3C50B7
accent
#31D511
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D268

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

Preview Lab → · Contrast checker → · Palette generator →

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