#7C821E#7C821E

#7C821E is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.3% C 0.119 H 113.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7C821E
RGBrgb(124, 130, 30)
HSLhsl(64, 63%, 31%)
HSVhsv(64, 77%, 51%)
CMYKcmyk(4.6%, 0%, 76.9%, 49%)
CIE-LABlab(52.22, -14.98, 49.60)
CIE-LCHlch(52.22, 51.82, 106.80°)
OKLaboklab(58.3% -0.0464 0.1091)
OKLCHoklch(58.3% 0.119 113)
XYZxyz(16.5297, 20.3445, 4.2842)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C821E #241E82
analogous
#82561E #7C821E #4A821E
triadic
#7C821E #1E7C82 #821E7C
tetradic
#7C821E #1E8256 #241E82 #821E4A
square
#7C821E #1E8256 #241E82 #821E4A
split-complementary
#7C821E #1E4A82 #561E82
monochromatic
#1D1F07 #4D5013 #7C821E #ABB429 #CCD446

Accessibility & contrast

On white

4.14
#7C821E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7C821E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C821E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C821E#FFFFFF#000000##000000
##7C821E1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C07
Deuteranopia (green-blind)
#8C7E26
Tritanopia (blue-blind)
#857A6F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c821e;
/* rgb */ color: rgb(124, 130, 30);
/* oklch */ color: oklch(58.3% 0.119 113.0);
Tailwind
colors: {
  custom: {
    50: '#a5a662',
    500: '#7c821e',
    950: '#000000',
  },
}
SCSS
$custom: #7c821e;
$custom-light: #a5a662;
$custom-dark: #000000;
JSON
{
  "hex": "#7c821e",
  "rgb": {
    "r": 124,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 63.6,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58301,
    "c": 0.11855,
    "h": 113
  },
  "luminance": 0.20344
}

Semantic roles & 50–950 ramp

primary
#7C821E
secondary
#4D47B5
accent
#42E64C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7C821E

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

Preview Lab → · Contrast checker → · Palette generator →

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