#E6C751#E6C751

#E6C751 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.5% C 0.139 H 94.4°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#E6C751
RGBrgb(230, 199, 81)
HSLhsl(48, 75%, 61%)
HSVhsv(48, 65%, 90%)
CMYKcmyk(0%, 13.5%, 64.8%, 9.8%)
CIE-LABlab(80.89, -2.11, 61.16)
CIE-LCHlch(80.89, 61.20, 91.98°)
OKLaboklab(83.46% -0.0107 0.1388)
OKLCHoklch(83.46% 0.139 94.4)
XYZxyz(54.5443, 58.2668, 16.1566)
Luminance0.5826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C751 #5170E6
analogous
#E67C51 #E6C751 #BAE651
triadic
#E6C751 #51E6C7 #C751E6
tetradic
#E6C751 #51E67C #5170E6 #E651BA
square
#E6C751 #51E67C #5170E6 #E651BA
split-complementary
#E6C751 #51BAE6 #7C51E6
monochromatic
#A58818 #DAB41F #E6C751 #EED887 #F5E9BC

Accessibility & contrast

On white

1.66
#E6C751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#E6C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C751
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C751#FFFFFF#000000##000000
##E6C7511.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC343
Deuteranopia (green-blind)
#E2CD57
Tritanopia (blue-blind)
#F8B8AE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e6c751;
/* rgb */ color: rgb(230, 199, 81);
/* oklch */ color: oklch(83.5% 0.139 94.4);
Tailwind
colors: {
  custom: {
    50: '#f1d787',
    500: '#e6c751',
    950: '#000000',
  },
}
SCSS
$custom: #e6c751;
$custom-light: #f1d787;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c751",
  "rgb": {
    "r": 230,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 47.517,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83458,
    "c": 0.13924,
    "h": 94.4
  },
  "luminance": 0.58264
}

Semantic roles & 50–950 ramp

primary
#E6C751
secondary
#344CA7
accent
#38D70E
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6C751

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

Preview Lab → · Contrast checker → · Palette generator →

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