#EBE37B#EBE37B

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

Color values

HEX#EBE37B
RGBrgb(235, 227, 123)
HSLhsl(56, 74%, 70%)
HSVhsv(56, 48%, 92%)
CMYKcmyk(0%, 3.4%, 47.7%, 7.8%)
CIE-LABlab(88.94, -11.11, 51.39)
CIE-LCHlch(88.94, 52.58, 102.20°)
OKLaboklab(90.08% -0.0322 0.1224)
OKLCHoklch(90.08% 0.127 104.7)
XYZxyz(65.3068, 74.0323, 29.5846)
Luminance0.7403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE37B #7B83EB
analogous
#EBAB7B #EBE37B #BBEB7B
triadic
#EBE37B #7BEBE3 #E37BEB
tetradic
#EBE37B #7BEBAB #7B83EB #EB7BBB
square
#EBE37B #7BEBAB #7B83EB #EB7BBB
split-complementary
#EBE37B #7BBBEB #AB7BEB
monochromatic
#CDC01F #E3D846 #EBE37B #F3EEB0 #FBF9E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBE37B#FFFFFF#000000##000000
##EBE37B1.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)
#F3DC72
Deuteranopia (green-blind)
#F6E280
Tritanopia (blue-blind)
#F9D7CB
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ebe37b;
/* rgb */ color: rgb(235, 227, 123);
/* oklch */ color: oklch(90.1% 0.127 104.7);
Tailwind
colors: {
  custom: {
    50: '#f3eba3',
    500: '#ebe37b',
    950: '#000000',
  },
}
SCSS
$custom: #ebe37b;
$custom-light: #f3eba3;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe37b",
  "rgb": {
    "r": 235,
    "g": 227,
    "b": 123
  },
  "hsl": {
    "h": 55.714,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90078,
    "c": 0.12652,
    "h": 104.7
  },
  "luminance": 0.7403
}

Semantic roles & 50–950 ramp

primary
#EBE37B
secondary
#464FC4
accent
#1ED610
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EBE37B

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

Preview Lab → · Contrast checker → · Palette generator →

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