#EBE662#EBE662

#EBE662 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.4% C 0.152 H 107.1°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#EBE662
RGBrgb(235, 230, 98)
HSLhsl(58, 77%, 65%)
HSVhsv(58, 58%, 92%)
CMYKcmyk(0%, 2.1%, 58.3%, 7.8%)
CIE-LABlab(89.46, -14.58, 63.33)
CIE-LCHlch(89.46, 64.99, 102.96°)
OKLaboklab(90.41% -0.0447 0.1457)
OKLCHoklch(90.41% 0.152 107.1)
XYZxyz(64.7644, 75.1396, 22.6447)
Luminance0.7514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE662 #6267EB
analogous
#EBA162 #EBE662 #ACEB62
triadic
#EBE662 #62EBE6 #E662EB
tetradic
#EBE662 #62EBA1 #6267EB #EB62AC
square
#EBE662 #62EBA1 #6267EB #EB62AC
split-complementary
#EBE662 #62ACEB #A162EB
monochromatic
#BBB518 #E4DD2C #EBE662 #F2EF98 #F9F7CF

Accessibility & contrast

On white

1.31
#EBE662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.03
#EBE662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE662
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE662#FFFFFF#000000##000000
##EBE6621.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE53
Deuteranopia (green-blind)
#FAE369
Tritanopia (blue-blind)
#FBD8CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ebe662;
/* rgb */ color: rgb(235, 230, 98);
/* oklch */ color: oklch(90.4% 0.152 107.1);
Tailwind
colors: {
  custom: {
    50: '#f4ed93',
    500: '#ebe662',
    950: '#000000',
  },
}
SCSS
$custom: #ebe662;
$custom-light: #f4ed93;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe662",
  "rgb": {
    "r": 235,
    "g": 230,
    "b": 98
  },
  "hsl": {
    "h": 57.81,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.90409,
    "c": 0.15235,
    "h": 107.1
  },
  "luminance": 0.75138
}

Semantic roles & 50–950 ramp

primary
#EBE662
secondary
#373CBA
accent
#13DA0C
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #EBE662

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

Preview Lab → · Contrast checker → · Palette generator →

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