#EBE38D#EBE38D

#EBE38D is a very light, moderate yellow. Relative luminance 0.745; OKLCH L 90.3% C 0.108 H 103.7°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#EBE38D
RGBrgb(235, 227, 141)
HSLhsl(55, 70%, 74%)
HSVhsv(55, 40%, 92%)
CMYKcmyk(0%, 3.4%, 40%, 7.8%)
CIE-LABlab(89.17, -9.35, 42.94)
CIE-LCHlch(89.17, 43.94, 102.29°)
OKLaboklab(90.34% -0.0255 0.1046)
OKLCHoklch(90.34% 0.108 103.7)
XYZxyz(66.5389, 74.5251, 36.0738)
Luminance0.7452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE38D #8D95EB
analogous
#EBB48D #EBE38D #C4EB8D
triadic
#EBE38D #8DEBE3 #E38DEB
tetradic
#EBE38D #8DEBB4 #8D95EB #EB8DC4
square
#EBE38D #8DEBB4 #8D95EB #EB8DC4
split-complementary
#EBE38D #8DC4EB #B48DEB
monochromatic
#D8C926 #E2D659 #EBE38D #F4F0C1 #FAF9E5

Accessibility & contrast

On white

1.32
#EBE38D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.90
#EBE38D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE38D
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE38D#FFFFFF#000000##000000
##EBE38D1.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DD86
Deuteranopia (green-blind)
#F4E291
Tritanopia (blue-blind)
#F8D8CE
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ebe38d;
/* rgb */ color: rgb(235, 227, 141);
/* oklch */ color: oklch(90.3% 0.108 103.7);
Tailwind
colors: {
  custom: {
    50: '#f3ebaf',
    500: '#ebe38d',
    950: '#000000',
  },
}
SCSS
$custom: #ebe38d;
$custom-light: #f3ebaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe38d",
  "rgb": {
    "r": 235,
    "g": 227,
    "b": 141
  },
  "hsl": {
    "h": 54.894,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.90338,
    "c": 0.10767,
    "h": 103.7
  },
  "luminance": 0.74523
}

Semantic roles & 50–950 ramp

primary
#EBE38D
secondary
#5760C6
accent
#24D213
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #EBE38D

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

Preview Lab → · Contrast checker → · Palette generator →

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