#EBCC6B#EBCC6B

#EBCC6B is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 85.2% C 0.122 H 92.0°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#EBCC6B
RGBrgb(235, 204, 107)
HSLhsl(45, 76%, 67%)
HSVhsv(45, 54%, 92%)
CMYKcmyk(0%, 13.2%, 54.5%, 7.8%)
CIE-LABlab(82.87, -0.81, 51.74)
CIE-LCHlch(82.87, 51.74, 90.90°)
OKLaboklab(85.21% -0.0042 0.1217)
OKLCHoklch(85.21% 0.122 92)
XYZxyz(58.5100, 61.9122, 22.7754)
Luminance0.6191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCC6B #6B8AEB
analogous
#EB8C6B #EBCC6B #CAEB6B
triadic
#EBCC6B #6BEBCC #CC6BEB
tetradic
#EBCC6B #6BEB8C #6B8AEB #EB6BCA
square
#EBCC6B #6BEB8C #6B8AEB #EB6BCA
split-complementary
#EBCC6B #6BCAEB #8C6BEB
monochromatic
#C1991A #E4B935 #EBCC6B #F2DFA1 #FAF1D7

Accessibility & contrast

On white

1.57
#EBCC6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#EBCC6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCC6B
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCC6B#FFFFFF#000000##000000
##EBCC6B1.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC962
Deuteranopia (green-blind)
#E6D26F
Tritanopia (blue-blind)
#FCBFB6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ebcc6b;
/* rgb */ color: rgb(235, 204, 107);
/* oklch */ color: oklch(85.2% 0.122 92.0);
Tailwind
colors: {
  custom: {
    50: '#f4db98',
    500: '#ebcc6b',
    950: '#000000',
  },
}
SCSS
$custom: #ebcc6b;
$custom-light: #f4db98;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcc6b",
  "rgb": {
    "r": 235,
    "g": 204,
    "b": 107
  },
  "hsl": {
    "h": 45.469,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8521,
    "c": 0.1218,
    "h": 92
  },
  "luminance": 0.61909
}

Semantic roles & 50–950 ramp

primary
#EBCC6B
secondary
#3A5BC0
accent
#3ED80D
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #EBCC6B

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

Preview Lab → · Contrast checker → · Palette generator →

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