#7B812E#7B812E

#7B812E is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.1% C 0.106 H 113.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7B812E
RGBrgb(123, 129, 46)
HSLhsl(64, 47%, 34%)
HSVhsv(64, 64%, 51%)
CMYKcmyk(4.7%, 0%, 64.3%, 49.4%)
CIE-LABlab(51.96, -13.94, 42.81)
CIE-LCHlch(51.96, 45.03, 108.03°)
OKLaboklab(58.11% -0.0417 0.0976)
OKLCHoklch(58.11% 0.106 113.2)
XYZxyz(16.5122, 20.1091, 5.5958)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B812E #342E81
analogous
#815E2E #7B812E #52812E
triadic
#7B812E #2E7B81 #812E7B
tetradic
#7B812E #2E815E #342E81 #812E52
square
#7B812E #2E815E #342E81 #812E52
split-complementary
#7B812E #2E5281 #5E2E81
monochromatic
#25270E #50541E #7B812E #A6AE3E #C0C762

Accessibility & contrast

On white

4.18
#7B812E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7B812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B812E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B812E#FFFFFF#000000##000000
##7B812E1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B24
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#837970
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7b812e;
/* rgb */ color: rgb(123, 129, 46);
/* oklch */ color: oklch(58.1% 0.106 113.2);
Tailwind
colors: {
  custom: {
    50: '#a3a56b',
    500: '#7b812e',
    950: '#000000',
  },
}
SCSS
$custom: #7b812e;
$custom-light: #a3a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b812e",
  "rgb": {
    "r": 123,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 64.337,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58106,
    "c": 0.10614,
    "h": 113.2
  },
  "luminance": 0.20109
}

Semantic roles & 50–950 ramp

primary
#7B812E
secondary
#635DAE
accent
#51D75A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7B812E

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

Preview Lab → · Contrast checker → · Palette generator →

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