#EBCC4F#EBCC4F

#EBCC4F is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.9% C 0.145 H 95.1°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#EBCC4F
RGBrgb(235, 204, 79)
HSLhsl(48, 80%, 62%)
HSVhsv(48, 66%, 92%)
CMYKcmyk(0%, 13.2%, 66.4%, 7.8%)
CIE-LABlab(82.60, -2.70, 63.95)
CIE-LCHlch(82.60, 64.01, 92.42°)
OKLaboklab(84.92% -0.0129 0.1443)
OKLCHoklch(84.92% 0.145 95.1)
XYZxyz(57.2679, 61.4154, 16.2335)
Luminance0.6141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCC4F #4F6EEB
analogous
#EB7E4F #EBCC4F #BCEB4F
triadic
#EBCC4F #4FEBCC #CC4FEB
tetradic
#EBCC4F #4FEB7E #4F6EEB #EB4FBC
square
#EBCC4F #4FEB7E #4F6EEB #EB4FBC
split-complementary
#EBCC4F #4FBCEB #7E4FEB
monochromatic
#AC8E14 #E3BB1A #EBCC4F #F1DC86 #F7ECBD

Accessibility & contrast

On white

1.58
#EBCC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#EBCC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCC4F
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCC4F#FFFFFF#000000##000000
##EBCC4F1.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83F
Deuteranopia (green-blind)
#E8D255
Tritanopia (blue-blind)
#FDBDB2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ebcc4f;
/* rgb */ color: rgb(235, 204, 79);
/* oklch */ color: oklch(84.9% 0.145 95.1);
Tailwind
colors: {
  custom: {
    50: '#f5db86',
    500: '#ebcc4f',
    950: '#000000',
  },
}
SCSS
$custom: #ebcc4f;
$custom-light: #f5db86;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcc4f",
  "rgb": {
    "r": 235,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 48.077,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84915,
    "c": 0.14485,
    "h": 95.1
  },
  "luminance": 0.61412
}

Semantic roles & 50–950 ramp

primary
#EBCC4F
secondary
#314AAD
accent
#33DC0A
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBCC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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