#EBE07C#EBE07C

#EBE07C is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.5% C 0.122 H 103.0°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#EBE07C
RGBrgb(235, 224, 124)
HSLhsl(54, 74%, 70%)
HSVhsv(54, 47%, 92%)
CMYKcmyk(0%, 4.7%, 47.2%, 7.8%)
CIE-LABlab(88.18, -9.52, 49.99)
CIE-LCHlch(88.18, 50.89, 100.78°)
OKLaboklab(89.48% -0.0275 0.1194)
OKLCHoklch(89.48% 0.122 103)
XYZxyz(64.5563, 72.4307, 29.6448)
Luminance0.7243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE07C #7C87EB
analogous
#EBA87C #EBE07C #BEEB7C
triadic
#EBE07C #7CEBE0 #E07CEB
tetradic
#EBE07C #7CEBA8 #7C87EB #EB7CBE
square
#EBE07C #7CEBA8 #7C87EB #EB7CBE
split-complementary
#EBE07C #7CBEEB #A87CEB
monochromatic
#CDBC1F #E3D347 #EBE07C #F3EDB1 #FBF9E4

Accessibility & contrast

On white

1.36
#EBE07C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.49
#EBE07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE07C
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE07C#FFFFFF#000000##000000
##EBE07C1.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA73
Deuteranopia (green-blind)
#F4E080
Tritanopia (blue-blind)
#F9D4C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ebe07c;
/* rgb */ color: rgb(235, 224, 124);
/* oklch */ color: oklch(89.5% 0.122 103.0);
Tailwind
colors: {
  custom: {
    50: '#f3e9a4',
    500: '#ebe07c',
    950: '#000000',
  },
}
SCSS
$custom: #ebe07c;
$custom-light: #f3e9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe07c",
  "rgb": {
    "r": 235,
    "g": 224,
    "b": 124
  },
  "hsl": {
    "h": 54.054,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89477,
    "c": 0.12248,
    "h": 103
  },
  "luminance": 0.72429
}

Semantic roles & 50–950 ramp

primary
#EBE07C
secondary
#4754C4
accent
#23D610
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EBE07C

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

Preview Lab → · Contrast checker → · Palette generator →

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