#E7C450#E7C450

#E7C450 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.9% C 0.138 H 92.2°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#E7C450
RGBrgb(231, 196, 80)
HSLhsl(46, 76%, 61%)
HSVhsv(46, 65%, 91%)
CMYKcmyk(0%, 15.2%, 65.4%, 9.4%)
CIE-LABlab(80.21, -0.20, 60.89)
CIE-LCHlch(80.21, 60.89, 90.19°)
OKLaboklab(82.94% -0.0054 0.1381)
OKLCHoklch(82.94% 0.138 92.2)
XYZxyz(54.1456, 57.0510, 15.7478)
Luminance0.5705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C450 #5073E7
analogous
#E77850 #E7C450 #BEE750
triadic
#E7C450 #50E7C4 #C450E7
tetradic
#E7C450 #50E778 #5073E7 #E750BE
square
#E7C450 #50E778 #5073E7 #E750BE
split-complementary
#E7C450 #50BEE7 #7850E7
monochromatic
#A68517 #DCB01E #E7C450 #EED686 #F6E8BC

Accessibility & contrast

On white

1.69
#E7C450 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#E7C450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C450
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C450#FFFFFF#000000##000000
##E7C4501.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C142
Deuteranopia (green-blind)
#E1CB56
Tritanopia (blue-blind)
#F9B5AB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e7c450;
/* rgb */ color: rgb(231, 196, 80);
/* oklch */ color: oklch(82.9% 0.138 92.2);
Tailwind
colors: {
  custom: {
    50: '#f2d586',
    500: '#e7c450',
    950: '#000000',
  },
}
SCSS
$custom: #e7c450;
$custom-light: #f2d586;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c450",
  "rgb": {
    "r": 231,
    "g": 196,
    "b": 80
  },
  "hsl": {
    "h": 46.093,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82941,
    "c": 0.13818,
    "h": 92.2
  },
  "luminance": 0.57048
}

Semantic roles & 50–950 ramp

primary
#E7C450
secondary
#334EA8
accent
#3CD80D
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E7C450

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

Preview Lab → · Contrast checker → · Palette generator →

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