#7E8623#7E8623

#7E8623 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.5% C 0.119 H 114.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7E8623
RGBrgb(126, 134, 35)
HSLhsl(65, 59%, 33%)
HSVhsv(65, 74%, 53%)
CMYKcmyk(6%, 0%, 73.9%, 47.5%)
CIE-LABlab(53.61, -15.95, 49.16)
CIE-LCHlch(53.61, 51.68, 107.98°)
OKLaboklab(59.46% -0.0487 0.109)
OKLCHoklch(59.46% 0.119 114.1)
XYZxyz(17.4332, 21.6075, 4.8421)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8623 #2B2386
analogous
#865C23 #7E8623 #4D8623
triadic
#7E8623 #237E86 #86237E
tetradic
#7E8623 #23865C #2B2386 #86234D
square
#7E8623 #23865C #2B2386 #86234D
split-complementary
#7E8623 #234D86 #5C2386
monochromatic
#23250A #505516 #7E8623 #ACB730 #C7D252

Accessibility & contrast

On white

3.95
#7E8623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7E8623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8623
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8623#FFFFFF#000000##000000
##7E86231.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#90812B
Tritanopia (blue-blind)
#877E73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e8623;
/* rgb */ color: rgb(126, 134, 35);
/* oklch */ color: oklch(59.5% 0.119 114.1);
Tailwind
colors: {
  custom: {
    50: '#a6a965',
    500: '#7e8623',
    950: '#000000',
  },
}
SCSS
$custom: #7e8623;
$custom-light: #a6a965;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8623",
  "rgb": {
    "r": 126,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 64.848,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5946,
    "c": 0.1194,
    "h": 114.1
  },
  "luminance": 0.21607
}

Semantic roles & 50–950 ramp

primary
#7E8623
secondary
#584FB5
accent
#46E253
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8623

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

Preview Lab → · Contrast checker → · Palette generator →

#7E8623 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva