#7C834A#7C834A

#7C834A is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.0% C 0.080 H 114.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7C834A
RGBrgb(124, 131, 74)
HSLhsl(67, 28%, 40%)
HSVhsv(67, 44%, 51%)
CMYKcmyk(5.3%, 0%, 43.5%, 48.6%)
CIE-LABlab(52.96, -11.92, 29.88)
CIE-LCHlch(52.96, 32.17, 111.74°)
OKLaboklab(59.03% -0.0331 0.0724)
OKLCHoklch(59.03% 0.08 114.6)
XYZxyz(17.6647, 21.0123, 9.6024)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C834A #514A83
analogous
#836D4A #7C834A #60834A
triadic
#7C834A #4A7C83 #834A7C
tetradic
#7C834A #4A836D #514A83 #834A60
square
#7C834A #4A836D #514A83 #834A60
split-complementary
#7C834A #4A6083 #6D4A83
monochromatic
#32351E #575C34 #7C834A #9FA763 #B7BD8A

Accessibility & contrast

On white

4.04
#7C834A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7C834A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C834A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C834A#FFFFFF#000000##000000
##7C834A1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E45
Deuteranopia (green-blind)
#8A7F4D
Tritanopia (blue-blind)
#827D75
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c834a;
/* rgb */ color: rgb(124, 131, 74);
/* oklch */ color: oklch(59.0% 0.080 114.6);
Tailwind
colors: {
  custom: {
    50: '#a3a77d',
    500: '#7c834a',
    950: '#000000',
  },
}
SCSS
$custom: #7c834a;
$custom-light: #a3a77d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c834a",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 74
  },
  "hsl": {
    "h": 67.368,
    "s": 27.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.59034,
    "c": 0.0796,
    "h": 114.6
  },
  "luminance": 0.21012
}

Semantic roles & 50–950 ramp

primary
#7C834A
secondary
#8580A9
accent
#64C470
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #7C834A

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

Preview Lab → · Contrast checker → · Palette generator →

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