#EBD95F#EBD95F

#EBD95F is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.7% C 0.143 H 101.0°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#EBD95F
RGBrgb(235, 217, 95)
HSLhsl(52, 78%, 65%)
HSVhsv(52, 60%, 92%)
CMYKcmyk(0%, 7.7%, 59.6%, 7.8%)
CIE-LABlab(86.06, -8.31, 60.88)
CIE-LCHlch(86.06, 61.44, 97.78°)
OKLaboklab(87.7% -0.0271 0.14)
OKLCHoklch(87.7% 0.143 101)
XYZxyz(61.1417, 68.1166, 20.7514)
Luminance0.6811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD95F #5F71EB
analogous
#EB935F #EBD95F #B7EB5F
triadic
#EBD95F #5FEBD9 #D95FEB
tetradic
#EBD95F #5FEB93 #5F71EB #EB5FB7
square
#EBD95F #5FEB93 #5F71EB #EB5FB7
split-complementary
#EBD95F #5FB7EB #935FEB
monochromatic
#B9A417 #E4CC29 #EBD95F #F2E695 #F9F3CC

Accessibility & contrast

On white

1.44
#EBD95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.62
#EBD95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD95F
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD95F#FFFFFF#000000##000000
##EBD95F1.001.4414.6214.62
#FFFFFF1.441.0021.0021.00
#00000014.6221.001.001.00
##00000014.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD352
Deuteranopia (green-blind)
#F1DB65
Tritanopia (blue-blind)
#FCCBBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd95f;
/* rgb */ color: rgb(235, 217, 95);
/* oklch */ color: oklch(87.7% 0.143 101.0);
Tailwind
colors: {
  custom: {
    50: '#f4e491',
    500: '#ebd95f',
    950: '#000000',
  },
}
SCSS
$custom: #ebd95f;
$custom-light: #f4e491;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd95f",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 52.286,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.87702,
    "c": 0.14265,
    "h": 101
  },
  "luminance": 0.68114
}

Semantic roles & 50–950 ramp

primary
#EBD95F
secondary
#3647B8
accent
#26DA0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD95F

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

Preview Lab → · Contrast checker → · Palette generator →

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