#7C8346#7C8346

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

Color values

HEX#7C8346
RGBrgb(124, 131, 70)
HSLhsl(67, 30%, 39%)
HSVhsv(67, 47%, 51%)
CMYKcmyk(5.3%, 0%, 46.6%, 48.6%)
CIE-LABlab(52.91, -12.37, 31.96)
CIE-LCHlch(52.91, 34.27, 111.17°)
OKLaboklab(58.97% -0.0348 0.0768)
OKLCHoklch(58.97% 0.084 114.4)
XYZxyz(17.5342, 20.9601, 8.9152)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8346 #4D4683
analogous
#836C46 #7C8346 #5E8346
triadic
#7C8346 #467C83 #83467C
tetradic
#7C8346 #46836C #4D4683 #83465E
square
#7C8346 #46836C #4D4683 #83465E
split-complementary
#7C8346 #465E83 #6C4683
monochromatic
#30331B #565B31 #7C8346 #A0A95D #B8BE85

Accessibility & contrast

On white

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

On black

5.19
#7C8346 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8346
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8346#FFFFFF#000000##000000
##7C83461.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c8346;
/* rgb */ color: rgb(124, 131, 70);
/* oklch */ color: oklch(59.0% 0.084 114.4);
Tailwind
colors: {
  custom: {
    50: '#a3a77b',
    500: '#7c8346',
    950: '#000000',
  },
}
SCSS
$custom: #7c8346;
$custom-light: #a3a77b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8346",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 70
  },
  "hsl": {
    "h": 66.885,
    "s": 30.348,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5897,
    "c": 0.08427,
    "h": 114.4
  },
  "luminance": 0.2096
}

Semantic roles & 50–950 ramp

primary
#7C8346
secondary
#817BA9
accent
#61C76D
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #7C8346

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

Preview Lab → · Contrast checker → · Palette generator →

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