#7C832F#7C832F

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

Color values

HEX#7C832F
RGBrgb(124, 131, 47)
HSLhsl(65, 47%, 35%)
HSVhsv(65, 64%, 51%)
CMYKcmyk(5.3%, 0%, 64.1%, 48.6%)
CIE-LABlab(52.65, -14.49, 43.12)
CIE-LCHlch(52.65, 45.49, 108.58°)
OKLaboklab(58.68% -0.0432 0.0984)
OKLCHoklch(58.68% 0.107 113.7)
XYZxyz(16.9420, 20.7232, 5.7963)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C832F #362F83
analogous
#83602F #7C832F #52832F
triadic
#7C832F #2F7C83 #832F7C
tetradic
#7C832F #2F8360 #362F83 #832F52
square
#7C832F #2F8360 #362F83 #832F52
split-complementary
#7C832F #2F5283 #602F83
monochromatic
#27290F #51561F #7C832F #A7B03F #BFC865

Accessibility & contrast

On white

4.08
#7C832F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C832F#FFFFFF#000000##000000
##7C832F1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D25
Deuteranopia (green-blind)
#8C7F34
Tritanopia (blue-blind)
#847B71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c832f;
/* rgb */ color: rgb(124, 131, 47);
/* oklch */ color: oklch(58.7% 0.107 113.7);
Tailwind
colors: {
  custom: {
    50: '#a4a66c',
    500: '#7c832f',
    950: '#000000',
  },
}
SCSS
$custom: #7c832f;
$custom-light: #a4a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c832f",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 47
  },
  "hsl": {
    "h": 65,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58677,
    "c": 0.10744,
    "h": 113.7
  },
  "luminance": 0.20723
}

Semantic roles & 50–950 ramp

primary
#7C832F
secondary
#665FAF
accent
#51D75C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7C832F

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

Preview Lab → · Contrast checker → · Palette generator →

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