#7C8352#7C8352

#7C8352 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.2% C 0.070 H 115.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7C8352
RGBrgb(124, 131, 82)
HSLhsl(69, 23%, 42%)
HSVhsv(69, 37%, 51%)
CMYKcmyk(5.3%, 0%, 37.4%, 48.6%)
CIE-LABlab(53.09, -10.92, 25.65)
CIE-LCHlch(53.09, 27.88, 113.06°)
OKLaboklab(59.18% -0.0297 0.0631)
OKLCHoklch(59.18% 0.07 115.2)
XYZxyz(17.9515, 21.1271, 11.1132)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8352 #595283
analogous
#837252 #7C8352 #648352
triadic
#7C8352 #527C83 #83527C
tetradic
#7C8352 #528372 #595283 #835264
square
#7C8352 #528372 #595283 #835264
split-complementary
#7C8352 #526483 #725283
monochromatic
#353823 #585D3A #7C8352 #9CA46E #B6BC94

Accessibility & contrast

On white

4.02
#7C8352 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7C8352 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8352
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8352#FFFFFF#000000##000000
##7C83521.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E4E
Deuteranopia (green-blind)
#897F54
Tritanopia (blue-blind)
#817E77
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c8352;
/* rgb */ color: rgb(124, 131, 82);
/* oklch */ color: oklch(59.2% 0.070 115.2);
Tailwind
colors: {
  custom: {
    50: '#a2a783',
    500: '#7c8352',
    950: '#000000',
  },
}
SCSS
$custom: #7c8352;
$custom-light: #a2a783;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8352",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 82
  },
  "hsl": {
    "h": 68.571,
    "s": 23.005,
    "l": 41.765
  },
  "oklch": {
    "l": 0.59175,
    "c": 0.06978,
    "h": 115.2
  },
  "luminance": 0.21127
}

Semantic roles & 50–950 ramp

primary
#7C8352
secondary
#8D88A9
accent
#68BF75
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #7C8352

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

Preview Lab → · Contrast checker → · Palette generator →

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