#7C824C#7C824C

#7C824C is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.8% C 0.076 H 113.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7C824C
RGBrgb(124, 130, 76)
HSLhsl(67, 26%, 40%)
HSVhsv(67, 42%, 51%)
CMYKcmyk(4.6%, 0%, 41.5%, 49%)
CIE-LABlab(52.70, -11.13, 28.46)
CIE-LCHlch(52.70, 30.56, 111.36°)
OKLaboklab(58.83% -0.0307 0.0693)
OKLCHoklch(58.83% 0.076 113.9)
XYZxyz(17.5995, 20.7724, 9.9184)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C824C #524C82
analogous
#826D4C #7C824C #61824C
triadic
#7C824C #4C7C82 #824C7C
tetradic
#7C824C #4C826D #524C82 #824C61
square
#7C824C #4C826D #524C82 #824C61
split-complementary
#7C824C #4C6182 #6D4C82
monochromatic
#32351F #575B35 #7C824C #9EA566 #B7BC8C

Accessibility & contrast

On white

4.07
#7C824C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#7C824C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C824C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C824C#FFFFFF#000000##000000
##7C824C1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897D48
Deuteranopia (green-blind)
#897E4F
Tritanopia (blue-blind)
#827C75
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c824c;
/* rgb */ color: rgb(124, 130, 76);
/* oklch */ color: oklch(58.8% 0.076 113.9);
Tailwind
colors: {
  custom: {
    50: '#a3a67f',
    500: '#7c824c',
    950: '#000000',
  },
}
SCSS
$custom: #7c824c;
$custom-light: #a3a67f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c824c",
  "rgb": {
    "r": 124,
    "g": 130,
    "b": 76
  },
  "hsl": {
    "h": 66.667,
    "s": 26.214,
    "l": 40.392
  },
  "oklch": {
    "l": 0.58833,
    "c": 0.0758,
    "h": 113.9
  },
  "luminance": 0.20772
}

Semantic roles & 50–950 ramp

primary
#7C824C
secondary
#8681A8
accent
#65C370
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #7C824C

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

Preview Lab → · Contrast checker → · Palette generator →

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