#7E833D#7E833D

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

Color values

HEX#7E833D
RGBrgb(126, 131, 61)
HSLhsl(64, 36%, 38%)
HSVhsv(64, 53%, 51%)
CMYKcmyk(3.8%, 0%, 53.4%, 48.6%)
CIE-LABlab(52.96, -12.43, 36.75)
CIE-LCHlch(52.96, 38.79, 108.69°)
OKLaboklab(59.01% -0.036 0.0865)
OKLCHoklch(59.01% 0.094 112.6)
XYZxyz(17.5631, 21.0055, 7.5432)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E833D #423D83
analogous
#83653D #7E833D #5B833D
triadic
#7E833D #3D7E83 #833D7E
tetradic
#7E833D #3D8365 #423D83 #833D5B
square
#7E833D #3D8365 #423D83 #833D5B
split-complementary
#7E833D #3D5B83 #653D83
monochromatic
#2E2F16 #56592A #7E833D #A6AD50 #BCC17A

Accessibility & contrast

On white

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

On black

5.20
#7E833D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E833D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E833D#FFFFFF#000000##000000
##7E833D1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E36
Deuteranopia (green-blind)
#8C7F41
Tritanopia (blue-blind)
#857C73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e833d;
/* rgb */ color: rgb(126, 131, 61);
/* oklch */ color: oklch(59.0% 0.094 112.6);
Tailwind
colors: {
  custom: {
    50: '#a5a675',
    500: '#7e833d',
    950: '#000000',
  },
}
SCSS
$custom: #7e833d;
$custom-light: #a5a675;
$custom-dark: #000000;
JSON
{
  "hex": "#7e833d",
  "rgb": {
    "r": 126,
    "g": 131,
    "b": 61
  },
  "hsl": {
    "h": 64.286,
    "s": 36.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59013,
    "c": 0.09365,
    "h": 112.6
  },
  "luminance": 0.21005
}

Semantic roles & 50–950 ramp

primary
#7E833D
secondary
#7571AB
accent
#5BCC63
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #7E833D

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

Preview Lab → · Contrast checker → · Palette generator →

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