#7C832A#7C832A

#7C832A is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.6% C 0.112 H 113.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7C832A
RGBrgb(124, 131, 42)
HSLhsl(65, 51%, 34%)
HSVhsv(65, 68%, 51%)
CMYKcmyk(5.3%, 0%, 67.9%, 48.6%)
CIE-LABlab(52.60, -14.84, 45.28)
CIE-LCHlch(52.60, 47.65, 108.15°)
OKLaboklab(58.63% -0.0448 0.1021)
OKLCHoklch(58.63% 0.112 113.7)
XYZxyz(16.8468, 20.6852, 5.2952)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C832A #312A83
analogous
#835E2A #7C832A #50832A
triadic
#7C832A #2A7C83 #832A7C
tetradic
#7C832A #2A835E #312A83 #832A50
square
#7C832A #2A835E #312A83 #832A50
split-complementary
#7C832A #2A5083 #5E2A83
monochromatic
#24260C #50551B #7C832A #A8B139 #C2CB5D

Accessibility & contrast

On white

4.09
#7C832A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7C832A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C832A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C832A#FFFFFF#000000##000000
##7C832A1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1E
Deuteranopia (green-blind)
#8C7E30
Tritanopia (blue-blind)
#847B71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c832a;
/* rgb */ color: rgb(124, 131, 42);
/* oklch */ color: oklch(58.6% 0.112 113.7);
Tailwind
colors: {
  custom: {
    50: '#a4a669',
    500: '#7c832a',
    950: '#000000',
  },
}
SCSS
$custom: #7c832a;
$custom-light: #a4a669;
$custom-dark: #000000;
JSON
{
  "hex": "#7c832a",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 42
  },
  "hsl": {
    "h": 64.719,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5863,
    "c": 0.11151,
    "h": 113.7
  },
  "luminance": 0.20685
}

Semantic roles & 50–950 ramp

primary
#7C832A
secondary
#5F58B1
accent
#4DDB58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7C832A

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

Preview Lab → · Contrast checker → · Palette generator →

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