#EBE27F#EBE27F

#EBE27F is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 89.9% C 0.121 H 104.0°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#EBE27F
RGBrgb(235, 226, 127)
HSLhsl(55, 73%, 71%)
HSVhsv(55, 46%, 92%)
CMYKcmyk(0%, 3.8%, 46%, 7.8%)
CIE-LABlab(88.73, -10.24, 49.22)
CIE-LCHlch(88.73, 50.28, 101.76°)
OKLaboklab(89.93% -0.0293 0.1179)
OKLCHoklch(89.93% 0.121 104)
XYZxyz(65.2896, 73.5891, 30.8394)
Luminance0.7359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE27F #7F88EB
analogous
#EBAC7F #EBE27F #BEEB7F
triadic
#EBE27F #7FEBE2 #E27FEB
tetradic
#EBE27F #7FEBAC #7F88EB #EB7FBE
square
#EBE27F #7FEBAC #7F88EB #EB7FBE
split-complementary
#EBE27F #7FBEEB #AC7FEB
monochromatic
#CFC120 #E3D64A #EBE27F #F3EEB4 #FBF9E5

Accessibility & contrast

On white

1.34
#EBE27F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.72
#EBE27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE27F
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE27F#FFFFFF#000000##000000
##EBE27F1.001.3415.7215.72
#FFFFFF1.341.0021.0021.00
#00000015.7221.001.001.00
##00000015.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DC77
Deuteranopia (green-blind)
#F5E183
Tritanopia (blue-blind)
#F9D6CB
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ebe27f;
/* rgb */ color: rgb(235, 226, 127);
/* oklch */ color: oklch(89.9% 0.121 104.0);
Tailwind
colors: {
  custom: {
    50: '#f3eaa6',
    500: '#ebe27f',
    950: '#000000',
  },
}
SCSS
$custom: #ebe27f;
$custom-light: #f3eaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe27f",
  "rgb": {
    "r": 235,
    "g": 226,
    "b": 127
  },
  "hsl": {
    "h": 55,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89927,
    "c": 0.12146,
    "h": 104
  },
  "luminance": 0.73587
}

Semantic roles & 50–950 ramp

primary
#EBE27F
secondary
#4A54C4
accent
#21D510
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EBE27F

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

Preview Lab → · Contrast checker → · Palette generator →

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