#7C8343#7C8343

#7C8343 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 58.9% C 0.088 H 114.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7C8343
RGBrgb(124, 131, 67)
HSLhsl(67, 32%, 39%)
HSVhsv(67, 49%, 51%)
CMYKcmyk(5.3%, 0%, 48.9%, 48.6%)
CIE-LABlab(52.87, -12.70, 33.50)
CIE-LCHlch(52.87, 35.82, 110.77°)
OKLaboklab(58.92% -0.036 0.0799)
OKLCHoklch(58.92% 0.088 114.3)
XYZxyz(17.4418, 20.9232, 8.4289)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8343 #4A4383
analogous
#836A43 #7C8343 #5C8343
triadic
#7C8343 #437C83 #83437C
tetradic
#7C8343 #43836A #4A4383 #83435C
square
#7C8343 #43836A #4A4383 #83435C
split-complementary
#7C8343 #435C83 #6A4383
monochromatic
#2F321A #565B2E #7C8343 #A1AA59 #B8BF82

Accessibility & contrast

On white

4.05
#7C8343 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#7C8343 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8343
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8343#FFFFFF#000000##000000
##7C83431.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E3D
Deuteranopia (green-blind)
#8B7F46
Tritanopia (blue-blind)
#837D74
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c8343;
/* rgb */ color: rgb(124, 131, 67);
/* oklch */ color: oklch(58.9% 0.088 114.3);
Tailwind
colors: {
  custom: {
    50: '#a3a779',
    500: '#7c8343',
    950: '#000000',
  },
}
SCSS
$custom: #7c8343;
$custom-light: #a3a779;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8343",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 67
  },
  "hsl": {
    "h": 66.563,
    "s": 32.323,
    "l": 38.824
  },
  "oklch": {
    "l": 0.58924,
    "c": 0.08767,
    "h": 114.3
  },
  "luminance": 0.20923
}

Semantic roles & 50–950 ramp

primary
#7C8343
secondary
#7D78AA
accent
#5FC86B
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #7C8343

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

Preview Lab → · Contrast checker → · Palette generator →

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