#7C811E#7C811E

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

Color values

HEX#7C811E
RGBrgb(124, 129, 30)
HSLhsl(63, 62%, 31%)
HSVhsv(63, 77%, 51%)
CMYKcmyk(3.9%, 0%, 76.7%, 49.4%)
CIE-LABlab(51.93, -14.45, 49.33)
CIE-LCHlch(51.93, 51.40, 106.32°)
OKLaboklab(58.06% -0.0449 0.1085)
OKLCHoklch(58.06% 0.117 112.5)
XYZxyz(16.3973, 20.0797, 4.2400)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C811E #231E81
analogous
#81541E #7C811E #4A811E
triadic
#7C811E #1E7C81 #811E7C
tetradic
#7C811E #1E8154 #231E81 #811E4A
square
#7C811E #1E8154 #231E81 #811E4A
split-complementary
#7C811E #1E4A81 #541E81
monochromatic
#1D1E07 #4C4F12 #7C811E #ACB32A #CDD446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C811E#FFFFFF#000000##000000
##7C811E1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c811e;
/* rgb */ color: rgb(124, 129, 30);
/* oklch */ color: oklch(58.1% 0.117 112.5);
Tailwind
colors: {
  custom: {
    50: '#a5a562',
    500: '#7c811e',
    950: '#000000',
  },
}
SCSS
$custom: #7c811e;
$custom-light: #a5a562;
$custom-dark: #000000;
JSON
{
  "hex": "#7c811e",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 63.03,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58063,
    "c": 0.11743,
    "h": 112.5
  },
  "luminance": 0.20079
}

Semantic roles & 50–950 ramp

primary
#7C811E
secondary
#4C47B4
accent
#42E54B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7C811E

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

Preview Lab → · Contrast checker → · Palette generator →

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