#EBD07F#EBD07F

#EBD07F is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 86.3% C 0.105 H 91.6°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#EBD07F
RGBrgb(235, 208, 127)
HSLhsl(45, 73%, 71%)
HSVhsv(45, 46%, 92%)
CMYKcmyk(0%, 11.5%, 46%, 7.8%)
CIE-LABlab(84.13, -1.12, 43.52)
CIE-LCHlch(84.13, 43.53, 91.47°)
OKLaboklab(86.28% -0.0029 0.1051)
OKLCHoklch(86.28% 0.105 91.6)
XYZxyz(60.6494, 64.3087, 29.2927)
Luminance0.6431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD07F #7F9AEB
analogous
#EB9A7F #EBD07F #D0EB7F
triadic
#EBD07F #7FEBD0 #D07FEB
tetradic
#EBD07F #7FEB9A #7F9AEB #EB7FD0
square
#EBD07F #7FEB9A #7F9AEB #EB7FD0
split-complementary
#EBD07F #7FD0EB #9A7FEB
monochromatic
#CFA420 #E3BD4A #EBD07F #F3E3B4 #FBF5E5

Accessibility & contrast

On white

1.52
#EBD07F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#EBD07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD07F
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD07F#FFFFFF#000000##000000
##EBD07F1.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD79
Deuteranopia (green-blind)
#E7D582
Tritanopia (blue-blind)
#FAC4BC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ebd07f;
/* rgb */ color: rgb(235, 208, 127);
/* oklch */ color: oklch(86.3% 0.105 91.6);
Tailwind
colors: {
  custom: {
    50: '#f3dea5',
    500: '#ebd07f',
    950: '#000000',
  },
}
SCSS
$custom: #ebd07f;
$custom-light: #f3dea5;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd07f",
  "rgb": {
    "r": 235,
    "g": 208,
    "b": 127
  },
  "hsl": {
    "h": 45,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.86284,
    "c": 0.10518,
    "h": 91.6
  },
  "luminance": 0.64306
}

Semantic roles & 50–950 ramp

primary
#EBD07F
secondary
#4A68C4
accent
#42D510
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EBD07F

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

Preview Lab → · Contrast checker → · Palette generator →

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