#EBCF31#EBCF31

#EBCF31 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.3% C 0.165 H 98.4°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#EBCF31
RGBrgb(235, 207, 49)
HSLhsl(51, 82%, 56%)
HSVhsv(51, 79%, 92%)
CMYKcmyk(0%, 11.9%, 79.1%, 7.8%)
CIE-LABlab(83.19, -5.55, 75.22)
CIE-LCHlch(83.19, 75.43, 94.22°)
OKLaboklab(85.32% -0.024 0.1628)
OKLCHoklch(85.32% 0.165 98.4)
XYZxyz(57.1312, 62.5126, 11.9620)
Luminance0.6251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCF31 #314DEB
analogous
#EB7231 #EBCF31 #AAEB31
triadic
#EBCF31 #31EBCF #CF31EB
tetradic
#EBCF31 #31EB72 #314DEB #EB31AA
square
#EBCF31 #31EB72 #314DEB #EB31AA
split-complementary
#EBCF31 #31AAEB #7231EB
monochromatic
#937F0E #CBAF14 #EBCF31 #F0DC69 #F6E9A1

Accessibility & contrast

On white

1.56
#EBCF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#EBCF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCF31
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCF31#FFFFFF#000000##000000
##EBCF311.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA00
Deuteranopia (green-blind)
#ECD33D
Tritanopia (blue-blind)
#FEBFB2
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ebcf31;
/* rgb */ color: rgb(235, 207, 49);
/* oklch */ color: oklch(85.3% 0.165 98.4);
Tailwind
colors: {
  custom: {
    50: '#f6dd77',
    500: '#ebcf31',
    950: '#000000',
  },
}
SCSS
$custom: #ebcf31;
$custom-light: #f6dd77;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcf31",
  "rgb": {
    "r": 235,
    "g": 207,
    "b": 49
  },
  "hsl": {
    "h": 50.968,
    "s": 82.301,
    "l": 55.686
  },
  "oklch": {
    "l": 0.85319,
    "c": 0.16453,
    "h": 98.4
  },
  "luminance": 0.6251
}

Semantic roles & 50–950 ramp

primary
#EBCF31
secondary
#293997
accent
#4DF92F
background
#FFFEFB
surface
#FFFCF1
border
#D7D5CB
text
#18150A
muted
#86847D

Preview Lab

Preview with #EBCF31

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

Preview Lab → · Contrast checker → · Palette generator →

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