#7C811D#7C811D

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

Color values

HEX#7C811D
RGBrgb(124, 129, 29)
HSLhsl(63, 63%, 31%)
HSVhsv(63, 78%, 51%)
CMYKcmyk(3.9%, 0%, 77.5%, 49.4%)
CIE-LABlab(51.92, -14.49, 49.67)
CIE-LCHlch(51.92, 51.74, 106.27°)
OKLaboklab(58.06% -0.0451 0.1091)
OKLCHoklch(58.06% 0.118 112.5)
XYZxyz(16.3847, 20.0747, 4.1739)
Luminance0.2007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C811D #221D81
analogous
#81541D #7C811D #4A811D
triadic
#7C811D #1D7C81 #811D7C
tetradic
#7C811D #1D8154 #221D81 #811D4A
square
#7C811D #1D8154 #221D81 #811D4A
split-complementary
#7C811D #1D4A81 #541D81
monochromatic
#1C1D07 #4C4F12 #7C811D #ACB328 #CED544

Accessibility & contrast

On white

4.19
#7C811D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7C811D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C811D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C811D#FFFFFF#000000##000000
##7C811D1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c811d;
/* rgb */ color: rgb(124, 129, 29);
/* oklch */ color: oklch(58.1% 0.118 112.5);
Tailwind
colors: {
  custom: {
    50: '#a5a562',
    500: '#7c811d',
    950: '#000000',
  },
}
SCSS
$custom: #7c811d;
$custom-light: #a5a562;
$custom-dark: #000000;
JSON
{
  "hex": "#7c811d",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 63,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58056,
    "c": 0.11802,
    "h": 112.5
  },
  "luminance": 0.20074
}

Semantic roles & 50–950 ramp

primary
#7C811D
secondary
#4B46B4
accent
#41E64A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7C811D

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

Preview Lab → · Contrast checker → · Palette generator →

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