#7C832C#7C832C

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

Color values

HEX#7C832C
RGBrgb(124, 131, 44)
HSLhsl(65, 50%, 34%)
HSVhsv(65, 66%, 51%)
CMYKcmyk(5.3%, 0%, 66.4%, 48.6%)
CIE-LABlab(52.62, -14.71, 44.43)
CIE-LCHlch(52.62, 46.80, 108.31°)
OKLaboklab(58.65% -0.0442 0.1007)
OKLCHoklch(58.65% 0.11 113.7)
XYZxyz(16.8835, 20.6999, 5.4885)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C832C #332C83
analogous
#835F2C #7C832C #51832C
triadic
#7C832C #2C7C83 #832C7C
tetradic
#7C832C #2C835F #332C83 #832C51
square
#7C832C #2C835F #332C83 #832C51
split-complementary
#7C832C #2C5183 #5F2C83
monochromatic
#25270D #51551D #7C832C #A7B13B #C1CA60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C832C#FFFFFF#000000##000000
##7C832C1.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)
#8D7D20
Deuteranopia (green-blind)
#8C7E32
Tritanopia (blue-blind)
#847B71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c832c;
/* rgb */ color: rgb(124, 131, 44);
/* oklch */ color: oklch(58.6% 0.110 113.7);
Tailwind
colors: {
  custom: {
    50: '#a4a66a',
    500: '#7c832c',
    950: '#000000',
  },
}
SCSS
$custom: #7c832c;
$custom-light: #a4a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c832c",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 44
  },
  "hsl": {
    "h": 64.828,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58648,
    "c": 0.10993,
    "h": 113.7
  },
  "luminance": 0.207
}

Semantic roles & 50–950 ramp

primary
#7C832C
secondary
#625BB0
accent
#4FD95A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7C832C

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

Preview Lab → · Contrast checker → · Palette generator →

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