#7E833A#7E833A

#7E833A is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.0% C 0.097 H 112.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7E833A
RGBrgb(126, 131, 58)
HSLhsl(64, 39%, 37%)
HSVhsv(64, 56%, 51%)
CMYKcmyk(3.8%, 0%, 55.7%, 48.6%)
CIE-LABlab(52.92, -12.71, 38.22)
CIE-LCHlch(52.92, 40.28, 108.39°)
OKLaboklab(58.97% -0.0371 0.0893)
OKLCHoklch(58.97% 0.097 112.6)
XYZxyz(17.4846, 20.9740, 7.1295)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E833A #3F3A83
analogous
#83643A #7E833A #59833A
triadic
#7E833A #3A7E83 #833A7E
tetradic
#7E833A #3A8364 #3F3A83 #833A59
square
#7E833A #3A8364 #3F3A83 #833A59
split-complementary
#7E833A #3A5983 #643A83
monochromatic
#2C2E14 #555927 #7E833A #A7AD4D #BDC275

Accessibility & contrast

On white

4.04
#7E833A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#7E833A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E833A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E833A#FFFFFF#000000##000000
##7E833A1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D33
Deuteranopia (green-blind)
#8C7F3E
Tritanopia (blue-blind)
#867C73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e833a;
/* rgb */ color: rgb(126, 131, 58);
/* oklch */ color: oklch(59.0% 0.097 112.6);
Tailwind
colors: {
  custom: {
    50: '#a5a673',
    500: '#7e833a',
    950: '#000000',
  },
}
SCSS
$custom: #7e833a;
$custom-light: #a5a673;
$custom-dark: #000000;
JSON
{
  "hex": "#7e833a",
  "rgb": {
    "r": 126,
    "g": 131,
    "b": 58
  },
  "hsl": {
    "h": 64.11,
    "s": 38.624,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58974,
    "c": 0.09671,
    "h": 112.6
  },
  "luminance": 0.20974
}

Semantic roles & 50–950 ramp

primary
#7E833A
secondary
#726DAB
accent
#59CF61
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #7E833A

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

Preview Lab → · Contrast checker → · Palette generator →

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