#7E812E#7E812E

#7E812E is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.4% C 0.105 H 111.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7E812E
RGBrgb(126, 129, 46)
HSLhsl(62, 47%, 34%)
HSVhsv(62, 64%, 51%)
CMYKcmyk(2.3%, 0%, 64.3%, 49.4%)
CIE-LABlab(52.21, -12.59, 43.16)
CIE-LCHlch(52.21, 44.96, 106.27°)
OKLaboklab(58.37% -0.0381 0.0982)
OKLCHoklch(58.37% 0.105 111.2)
XYZxyz(16.9481, 20.3338, 5.6163)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E812E #312E81
analogous
#815B2E #7E812E #55812E
triadic
#7E812E #2E7E81 #812E7E
tetradic
#7E812E #2E815B #312E81 #812E55
square
#7E812E #2E815B #312E81 #812E55
split-complementary
#7E812E #2E5581 #5B2E81
monochromatic
#26270E #52541E #7E812E #AAAE3E #C3C762

Accessibility & contrast

On white

4.14
#7E812E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7E812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E812E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E812E#FFFFFF#000000##000000
##7E812E1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B24
Deuteranopia (green-blind)
#8B7E33
Tritanopia (blue-blind)
#867970
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e812e;
/* rgb */ color: rgb(126, 129, 46);
/* oklch */ color: oklch(58.4% 0.105 111.2);
Tailwind
colors: {
  custom: {
    50: '#a6a56b',
    500: '#7e812e',
    950: '#000000',
  },
}
SCSS
$custom: #7e812e;
$custom-light: #a6a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e812e",
  "rgb": {
    "r": 126,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 62.169,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58369,
    "c": 0.10538,
    "h": 111.2
  },
  "luminance": 0.20333
}

Semantic roles & 50–950 ramp

primary
#7E812E
secondary
#605DAE
accent
#51D756
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #7E812E

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

Preview Lab → · Contrast checker → · Palette generator →

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