#EBCF7B#EBCF7B

#EBCF7B is a very light, moderate yellow. Relative luminance 0.637; OKLCH L 86.0% C 0.109 H 91.5°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#EBCF7B
RGBrgb(235, 207, 123)
HSLhsl(45, 74%, 70%)
HSVhsv(45, 48%, 92%)
CMYKcmyk(0%, 11.9%, 47.7%, 7.8%)
CIE-LABlab(83.82, -0.98, 45.12)
CIE-LCHlch(83.82, 45.13, 91.25°)
OKLaboklab(86.03% -0.0029 0.1085)
OKLCHoklch(86.03% 0.109 91.5)
XYZxyz(60.1509, 63.7205, 27.8659)
Luminance0.6372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCF7B #7B97EB
analogous
#EB977B #EBCF7B #CFEB7B
triadic
#EBCF7B #7BEBCF #CF7BEB
tetradic
#EBCF7B #7BEB97 #7B97EB #EB7BCF
square
#EBCF7B #7BEB97 #7B97EB #EB7BCF
split-complementary
#EBCF7B #7BCFEB #977BEB
monochromatic
#CDA11F #E3BC46 #EBCF7B #F3E2B0 #FBF5E4

Accessibility & contrast

On white

1.53
#EBCF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#EBCF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCF7B
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCF7B#FFFFFF#000000##000000
##EBCF7B1.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC74
Deuteranopia (green-blind)
#E7D47E
Tritanopia (blue-blind)
#FAC3BB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ebcf7b;
/* rgb */ color: rgb(235, 207, 123);
/* oklch */ color: oklch(86.0% 0.109 91.5);
Tailwind
colors: {
  custom: {
    50: '#f3dda2',
    500: '#ebcf7b',
    950: '#000000',
  },
}
SCSS
$custom: #ebcf7b;
$custom-light: #f3dda2;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcf7b",
  "rgb": {
    "r": 235,
    "g": 207,
    "b": 123
  },
  "hsl": {
    "h": 45,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.86026,
    "c": 0.10851,
    "h": 91.5
  },
  "luminance": 0.63718
}

Semantic roles & 50–950 ramp

primary
#EBCF7B
secondary
#4666C4
accent
#41D610
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EBCF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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