#7C822D#7C822D

#7C822D is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.4% C 0.108 H 113.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7C822D
RGBrgb(124, 130, 45)
HSLhsl(64, 49%, 34%)
HSVhsv(64, 65%, 51%)
CMYKcmyk(4.6%, 0%, 65.4%, 49%)
CIE-LABlab(52.33, -14.10, 43.68)
CIE-LCHlch(52.33, 45.90, 107.89°)
OKLaboklab(58.42% -0.0424 0.0993)
OKLCHoklch(58.42% 0.108 113.1)
XYZxyz(16.7689, 20.4401, 5.5441)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C822D #332D82
analogous
#825E2D #7C822D #52822D
triadic
#7C822D #2D7C82 #822D7C
tetradic
#7C822D #2D825E #332D82 #822D52
square
#7C822D #2D825E #332D82 #822D52
split-complementary
#7C822D #2D5282 #5E2D82
monochromatic
#25270E #51551D #7C822D #A7AF3D #C1C861

Accessibility & contrast

On white

4.13
#7C822D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7C822D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C822D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C822D#FFFFFF#000000##000000
##7C822D1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C22
Deuteranopia (green-blind)
#8B7E33
Tritanopia (blue-blind)
#847A70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c822d;
/* rgb */ color: rgb(124, 130, 45);
/* oklch */ color: oklch(58.4% 0.108 113.1);
Tailwind
colors: {
  custom: {
    50: '#a4a66a',
    500: '#7c822d',
    950: '#000000',
  },
}
SCSS
$custom: #7c822d;
$custom-light: #a4a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c822d",
  "rgb": {
    "r": 124,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 64.235,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5842,
    "c": 0.10791,
    "h": 113.1
  },
  "luminance": 0.2044
}

Semantic roles & 50–950 ramp

primary
#7C822D
secondary
#625CAF
accent
#50D859
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7C822D

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

Preview Lab → · Contrast checker → · Palette generator →

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