#EBD172#EBD172

#EBD172 is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 86.3% C 0.119 H 94.4°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#EBD172
RGBrgb(235, 209, 114)
HSLhsl(47, 75%, 68%)
HSVhsv(47, 51%, 92%)
CMYKcmyk(0%, 11.1%, 51.5%, 7.8%)
CIE-LABlab(84.22, -2.80, 50.00)
CIE-LCHlch(84.22, 50.08, 93.21°)
OKLaboklab(86.3% -0.0092 0.1186)
OKLCHoklch(86.3% 0.119 94.4)
XYZxyz(60.1008, 64.4806, 25.1966)
Luminance0.6448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD172 #728CEB
analogous
#EB9472 #EBD172 #C9EB72
triadic
#EBD172 #72EBD1 #D172EB
tetradic
#EBD172 #72EB94 #728CEB #EB72C9
square
#EBD172 #72EB94 #728CEB #EB72C9
split-complementary
#EBD172 #72C9EB #9472EB
monochromatic
#C6A21C #E3C03C #EBD172 #F3E2A8 #FAF4DD

Accessibility & contrast

On white

1.51
#EBD172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#EBD172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD172
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD172#FFFFFF#000000##000000
##EBD1721.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD6A
Deuteranopia (green-blind)
#E9D676
Tritanopia (blue-blind)
#FBC4BB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ebd172;
/* rgb */ color: rgb(235, 209, 114);
/* oklch */ color: oklch(86.3% 0.119 94.4);
Tailwind
colors: {
  custom: {
    50: '#f4de9d',
    500: '#ebd172',
    950: '#000000',
  },
}
SCSS
$custom: #ebd172;
$custom-light: #f4de9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd172",
  "rgb": {
    "r": 235,
    "g": 209,
    "b": 114
  },
  "hsl": {
    "h": 47.107,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.86301,
    "c": 0.11891,
    "h": 94.4
  },
  "luminance": 0.64478
}

Semantic roles & 50–950 ramp

primary
#EBD172
secondary
#3E5BC3
accent
#39D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD172

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

Preview Lab → · Contrast checker → · Palette generator →

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