#EBE35F#EBE35F

#EBE35F is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.8% C 0.152 H 105.8°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#EBE35F
RGBrgb(235, 227, 95)
HSLhsl(57, 78%, 65%)
HSVhsv(57, 60%, 92%)
CMYKcmyk(0%, 3.4%, 59.6%, 7.8%)
CIE-LABlab(88.65, -13.30, 63.72)
CIE-LCHlch(88.65, 65.10, 101.79°)
OKLaboklab(89.76% -0.0414 0.1461)
OKLCHoklch(89.76% 0.152 105.8)
XYZxyz(63.7977, 73.4287, 21.6368)
Luminance0.7343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE35F #5F67EB
analogous
#EB9D5F #EBE35F #ADEB5F
triadic
#EBE35F #5FEBE3 #E35FEB
tetradic
#EBE35F #5FEB9D #5F67EB #EB5FAD
square
#EBE35F #5FEB9D #5F67EB #EB5FAD
split-complementary
#EBE35F #5FADEB #9D5FEB
monochromatic
#B9AF17 #E4D929 #EBE35F #F2ED95 #F9F6CC

Accessibility & contrast

On white

1.34
#EBE35F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.69
#EBE35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE35F
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE35F#FFFFFF#000000##000000
##EBE35F1.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB50
Deuteranopia (green-blind)
#F8E166
Tritanopia (blue-blind)
#FBD5C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ebe35f;
/* rgb */ color: rgb(235, 227, 95);
/* oklch */ color: oklch(89.8% 0.152 105.8);
Tailwind
colors: {
  custom: {
    50: '#f4eb91',
    500: '#ebe35f',
    950: '#000000',
  },
}
SCSS
$custom: #ebe35f;
$custom-light: #f4eb91;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe35f",
  "rgb": {
    "r": 235,
    "g": 227,
    "b": 95
  },
  "hsl": {
    "h": 56.571,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89758,
    "c": 0.15184,
    "h": 105.8
  },
  "luminance": 0.73427
}

Semantic roles & 50–950 ramp

primary
#EBE35F
secondary
#363EB8
accent
#17DA0B
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #EBE35F

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

Preview Lab → · Contrast checker → · Palette generator →

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