#EBD462#EBD462

#EBD462 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.7% C 0.136 H 98.0°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#EBD462
RGBrgb(235, 212, 98)
HSLhsl(50, 77%, 65%)
HSVhsv(50, 58%, 92%)
CMYKcmyk(0%, 9.8%, 58.3%, 7.8%)
CIE-LABlab(84.81, -5.58, 58.14)
CIE-LCHlch(84.81, 58.41, 95.48°)
OKLaboklab(86.72% -0.019 0.1346)
OKLCHoklch(86.72% 0.136 98)
XYZxyz(60.0114, 65.6336, 21.0604)
Luminance0.6563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD462 #6279EB
analogous
#EB8F62 #EBD462 #BDEB62
triadic
#EBD462 #62EBD4 #D462EB
tetradic
#EBD462 #62EB8F #6279EB #EB62BD
square
#EBD462 #62EB8F #6279EB #EB62BD
split-complementary
#EBD462 #62BDEB #8F62EB
monochromatic
#BB9F18 #E4C52C #EBD462 #F2E398 #F9F2CF

Accessibility & contrast

On white

1.49
#EBD462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#EBD462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD462
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD462#FFFFFF#000000##000000
##EBD4621.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#EDD767
Tritanopia (blue-blind)
#FCC6BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ebd462;
/* rgb */ color: rgb(235, 212, 98);
/* oklch */ color: oklch(86.7% 0.136 98.0);
Tailwind
colors: {
  custom: {
    50: '#f4e092',
    500: '#ebd462',
    950: '#000000',
  },
}
SCSS
$custom: #ebd462;
$custom-light: #f4e092;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd462",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 49.927,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.86716,
    "c": 0.13591,
    "h": 98
  },
  "luminance": 0.65631
}

Semantic roles & 50–950 ramp

primary
#EBD462
secondary
#374DBA
accent
#2EDA0C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD462

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

Preview Lab → · Contrast checker → · Palette generator →

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