#EBD07C#EBD07C

#EBD07C is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 86.2% C 0.108 H 92.1°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#EBD07C
RGBrgb(235, 208, 124)
HSLhsl(45, 74%, 70%)
HSVhsv(45, 47%, 92%)
CMYKcmyk(0%, 11.5%, 47.2%, 7.8%)
CIE-LABlab(84.09, -1.40, 44.96)
CIE-LCHlch(84.09, 44.98, 91.79°)
OKLaboklab(86.24% -0.004 0.1082)
OKLCHoklch(86.24% 0.108 92.1)
XYZxyz(60.4568, 64.2317, 28.2783)
Luminance0.6423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD07C #7C97EB
analogous
#EB987C #EBD07C #CFEB7C
triadic
#EBD07C #7CEBD0 #D07CEB
tetradic
#EBD07C #7CEB98 #7C97EB #EB7CCF
square
#EBD07C #7CEB98 #7C97EB #EB7CCF
split-complementary
#EBD07C #7CCFEB #987CEB
monochromatic
#CDA31F #E3BD47 #EBD07C #F3E3B1 #FBF5E4

Accessibility & contrast

On white

1.52
#EBD07C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.85
#EBD07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD07C
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD07C#FFFFFF#000000##000000
##EBD07C1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD75
Deuteranopia (green-blind)
#E7D57F
Tritanopia (blue-blind)
#FAC4BC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ebd07c;
/* rgb */ color: rgb(235, 208, 124);
/* oklch */ color: oklch(86.2% 0.108 92.1);
Tailwind
colors: {
  custom: {
    50: '#f3dea3',
    500: '#ebd07c',
    950: '#000000',
  },
}
SCSS
$custom: #ebd07c;
$custom-light: #f3dea3;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd07c",
  "rgb": {
    "r": 235,
    "g": 208,
    "b": 124
  },
  "hsl": {
    "h": 45.405,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.8624,
    "c": 0.10825,
    "h": 92.1
  },
  "luminance": 0.64229
}

Semantic roles & 50–950 ramp

primary
#EBD07C
secondary
#4766C4
accent
#40D610
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD07C

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

Preview Lab → · Contrast checker → · Palette generator →

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