#7B811D#7B811D

#7B811D 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#7B811D
RGBrgb(123, 129, 29)
HSLhsl(64, 63%, 31%)
HSVhsv(64, 78%, 51%)
CMYKcmyk(4.7%, 0%, 77.5%, 49.4%)
CIE-LABlab(51.84, -14.95, 49.56)
CIE-LCHlch(51.84, 51.77, 106.78°)
OKLaboklab(57.97% -0.0463 0.1089)
OKLCHoklch(57.97% 0.118 113)
XYZxyz(16.2409, 20.0005, 4.1671)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B811D #231D81
analogous
#81551D #7B811D #49811D
triadic
#7B811D #1D7B81 #811D7B
tetradic
#7B811D #1D8155 #231D81 #811D49
square
#7B811D #1D8155 #231D81 #811D49
split-complementary
#7B811D #1D4981 #551D81
monochromatic
#1C1D07 #4B4F12 #7B811D #ABB328 #CCD544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B811D#FFFFFF#000000##000000
##7B811D1.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)
#8B7B05
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#84796E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7b811d;
/* rgb */ color: rgb(123, 129, 29);
/* oklch */ color: oklch(58.0% 0.118 113.0);
Tailwind
colors: {
  custom: {
    50: '#a4a562',
    500: '#7b811d',
    950: '#000000',
  },
}
SCSS
$custom: #7b811d;
$custom-light: #a4a562;
$custom-dark: #000000;
JSON
{
  "hex": "#7b811d",
  "rgb": {
    "r": 123,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 63.6,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57969,
    "c": 0.11831,
    "h": 113
  },
  "luminance": 0.2
}

Semantic roles & 50–950 ramp

primary
#7B811D
secondary
#4C46B4
accent
#41E64B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7B811D

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

Preview Lab → · Contrast checker → · Palette generator →

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