#EBD37F#EBD37F

#EBD37F is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.9% C 0.108 H 93.9°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#EBD37F
RGBrgb(235, 211, 127)
HSLhsl(47, 73%, 71%)
HSVhsv(47, 46%, 92%)
CMYKcmyk(0%, 10.2%, 46%, 7.8%)
CIE-LABlab(84.89, -2.66, 44.47)
CIE-LCHlch(84.89, 44.55, 93.42°)
OKLaboklab(86.89% -0.0074 0.1073)
OKLCHoklch(86.89% 0.108 93.9)
XYZxyz(61.3878, 65.7854, 29.5388)
Luminance0.6578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD37F #7F97EB
analogous
#EB9D7F #EBD37F #CDEB7F
triadic
#EBD37F #7FEBD3 #D37FEB
tetradic
#EBD37F #7FEB9D #7F97EB #EB7FCD
square
#EBD37F #7FEB9D #7F97EB #EB7FCD
split-complementary
#EBD37F #7FCDEB #9D7FEB
monochromatic
#CFA820 #E3C14A #EBD37F #F3E5B4 #FBF6E5

Accessibility & contrast

On white

1.48
#EBD37F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#EBD37F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD37F
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD37F#FFFFFF#000000##000000
##EBD37F1.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D078
Deuteranopia (green-blind)
#E9D782
Tritanopia (blue-blind)
#FAC7BF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ebd37f;
/* rgb */ color: rgb(235, 211, 127);
/* oklch */ color: oklch(86.9% 0.108 93.9);
Tailwind
colors: {
  custom: {
    50: '#f3e0a5',
    500: '#ebd37f',
    950: '#000000',
  },
}
SCSS
$custom: #ebd37f;
$custom-light: #f3e0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd37f",
  "rgb": {
    "r": 235,
    "g": 211,
    "b": 127
  },
  "hsl": {
    "h": 46.667,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.86885,
    "c": 0.10752,
    "h": 93.9
  },
  "luminance": 0.65783
}

Semantic roles & 50–950 ramp

primary
#EBD37F
secondary
#4A65C4
accent
#3CD510
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD37F

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

Preview Lab → · Contrast checker → · Palette generator →

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