#EBE37C#EBE37C

#EBE37C is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.1% C 0.126 H 104.7°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#EBE37C
RGBrgb(235, 227, 124)
HSLhsl(56, 74%, 70%)
HSVhsv(56, 47%, 92%)
CMYKcmyk(0%, 3.4%, 47.2%, 7.8%)
CIE-LABlab(88.95, -11.02, 50.93)
CIE-LCHlch(88.95, 52.11, 102.21°)
OKLaboklab(90.09% -0.0318 0.1214)
OKLCHoklch(90.09% 0.126 104.7)
XYZxyz(65.3697, 74.0575, 29.9159)
Luminance0.7406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE37C #7C84EB
analogous
#EBAC7C #EBE37C #BBEB7C
triadic
#EBE37C #7CEBE3 #E37CEB
tetradic
#EBE37C #7CEBAC #7C84EB #EB7CBB
square
#EBE37C #7CEBAC #7C84EB #EB7CBB
split-complementary
#EBE37C #7CBBEB #AC7CEB
monochromatic
#CDC11F #E3D847 #EBE37C #F3EEB1 #FBF9E4

Accessibility & contrast

On white

1.33
#EBE37C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.81
#EBE37C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE37C
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE37C#FFFFFF#000000##000000
##EBE37C1.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC73
Deuteranopia (green-blind)
#F6E281
Tritanopia (blue-blind)
#F9D7CB
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ebe37c;
/* rgb */ color: rgb(235, 227, 124);
/* oklch */ color: oklch(90.1% 0.126 104.7);
Tailwind
colors: {
  custom: {
    50: '#f3eba4',
    500: '#ebe37c',
    950: '#000000',
  },
}
SCSS
$custom: #ebe37c;
$custom-light: #f3eba4;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe37c",
  "rgb": {
    "r": 235,
    "g": 227,
    "b": 124
  },
  "hsl": {
    "h": 55.676,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90091,
    "c": 0.12552,
    "h": 104.7
  },
  "luminance": 0.74056
}

Semantic roles & 50–950 ramp

primary
#EBE37C
secondary
#4750C4
accent
#1ED610
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EBE37C

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

Preview Lab → · Contrast checker → · Palette generator →

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