#7E8323#7E8323

#7E8323 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.7% C 0.116 H 112.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7E8323
RGBrgb(126, 131, 35)
HSLhsl(63, 58%, 33%)
HSVhsv(63, 73%, 51%)
CMYKcmyk(3.8%, 0%, 73.3%, 48.6%)
CIE-LABlab(52.72, -14.35, 48.29)
CIE-LCHlch(52.72, 50.38, 106.55°)
OKLaboklab(58.75% -0.0443 0.1072)
OKLCHoklch(58.75% 0.116 112.4)
XYZxyz(17.0244, 20.7900, 4.7058)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8323 #282383
analogous
#835823 #7E8323 #4E8323
triadic
#7E8323 #237E83 #83237E
tetradic
#7E8323 #238358 #282383 #83234E
square
#7E8323 #238358 #282383 #83234E
split-complementary
#7E8323 #234E83 #582383
monochromatic
#212209 #505316 #7E8323 #ACB330 #CAD050

Accessibility & contrast

On white

4.07
#7E8323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#7E8323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8323
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8323#FFFFFF#000000##000000
##7E83231.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D12
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#877B70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e8323;
/* rgb */ color: rgb(126, 131, 35);
/* oklch */ color: oklch(58.7% 0.116 112.4);
Tailwind
colors: {
  custom: {
    50: '#a6a665',
    500: '#7e8323',
    950: '#000000',
  },
}
SCSS
$custom: #7e8323;
$custom-light: #a6a665;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8323",
  "rgb": {
    "r": 126,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 63.125,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58747,
    "c": 0.11598,
    "h": 112.4
  },
  "luminance": 0.2079
}

Semantic roles & 50–950 ramp

primary
#7E8323
secondary
#534EB4
accent
#47E14F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8323

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

Preview Lab → · Contrast checker → · Palette generator →

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