#7B811E#7B811E

#7B811E is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.0% C 0.118 H 113.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7B811E
RGBrgb(123, 129, 30)
HSLhsl(64, 62%, 31%)
HSVhsv(64, 77%, 51%)
CMYKcmyk(4.7%, 0%, 76.7%, 49.4%)
CIE-LABlab(51.84, -14.90, 49.22)
CIE-LCHlch(51.84, 51.42, 106.84°)
OKLaboklab(57.98% -0.0461 0.1083)
OKLCHoklch(57.98% 0.118 113)
XYZxyz(16.2535, 20.0056, 4.2333)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B811E #241E81
analogous
#81551E #7B811E #49811E
triadic
#7B811E #1E7B81 #811E7B
tetradic
#7B811E #1E8155 #241E81 #811E49
square
#7B811E #1E8155 #241E81 #811E49
split-complementary
#7B811E #1E4981 #551E81
monochromatic
#1C1E07 #4C4F12 #7B811E #AAB32A #CBD446

Accessibility & contrast

On white

4.20
#7B811E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7B811E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B811E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B811E#FFFFFF#000000##000000
##7B811E1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B08
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#84796E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7b811e;
/* rgb */ color: rgb(123, 129, 30);
/* oklch */ color: oklch(58.0% 0.118 113.0);
Tailwind
colors: {
  custom: {
    50: '#a4a562',
    500: '#7b811e',
    950: '#000000',
  },
}
SCSS
$custom: #7b811e;
$custom-light: #a4a562;
$custom-dark: #000000;
JSON
{
  "hex": "#7b811e",
  "rgb": {
    "r": 123,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 63.636,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57975,
    "c": 0.11772,
    "h": 113
  },
  "luminance": 0.20005
}

Semantic roles & 50–950 ramp

primary
#7B811E
secondary
#4D47B4
accent
#42E54C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7B811E

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

Preview Lab → · Contrast checker → · Palette generator →

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