#EBE270#EBE270

#EBE270 is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.7% C 0.136 H 104.7°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#EBE270
RGBrgb(235, 226, 112)
HSLhsl(56, 75%, 68%)
HSVhsv(56, 52%, 92%)
CMYKcmyk(0%, 3.8%, 52.3%, 7.8%)
CIE-LABlab(88.56, -11.55, 56.08)
CIE-LCHlch(88.56, 57.26, 101.64°)
OKLaboklab(89.73% -0.0346 0.1316)
OKLCHoklch(89.73% 0.136 104.7)
XYZxyz(64.3838, 73.2267, 26.0688)
Luminance0.7322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE270 #7079EB
analogous
#EBA470 #EBE270 #B6EB70
triadic
#EBE270 #70EBE2 #E270EB
tetradic
#EBE270 #70EBA4 #7079EB #EB70B6
square
#EBE270 #70EBA4 #7079EB #EB70B6
split-complementary
#EBE270 #70B6EB #A470EB
monochromatic
#C5B91C #E3D73A #EBE270 #F3EDA6 #FAF8DB

Accessibility & contrast

On white

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

On black

15.65
#EBE270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE270
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE270#FFFFFF#000000##000000
##EBE2701.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB65
Deuteranopia (green-blind)
#F6E176
Tritanopia (blue-blind)
#FAD5C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ebe270;
/* rgb */ color: rgb(235, 226, 112);
/* oklch */ color: oklch(89.7% 0.136 104.7);
Tailwind
colors: {
  custom: {
    50: '#f4ea9c',
    500: '#ebe270',
    950: '#000000',
  },
}
SCSS
$custom: #ebe270;
$custom-light: #f4ea9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe270",
  "rgb": {
    "r": 235,
    "g": 226,
    "b": 112
  },
  "hsl": {
    "h": 55.61,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.89734,
    "c": 0.1361,
    "h": 104.7
  },
  "luminance": 0.73225
}

Semantic roles & 50–950 ramp

primary
#EBE270
secondary
#3C46C3
accent
#1DD80E
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EBE270

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

Preview Lab → · Contrast checker → · Palette generator →

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