#7C8341#7C8341

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

Color values

HEX#7C8341
RGBrgb(124, 131, 65)
HSLhsl(66, 34%, 38%)
HSVhsv(66, 50%, 51%)
CMYKcmyk(5.3%, 0%, 50.4%, 48.6%)
CIE-LABlab(52.84, -12.91, 34.51)
CIE-LCHlch(52.84, 36.85, 110.51°)
OKLaboklab(58.9% -0.0368 0.082)
OKLCHoklch(58.9% 0.09 114.2)
XYZxyz(17.3829, 20.8996, 8.1183)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8341 #484183
analogous
#836941 #7C8341 #5B8341
triadic
#7C8341 #417C83 #83417C
tetradic
#7C8341 #418369 #484183 #83415B
square
#7C8341 #418369 #484183 #83415B
split-complementary
#7C8341 #415B83 #694183
monochromatic
#2F3118 #555A2D #7C8341 #A2AB56 #B9BF7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8341#FFFFFF#000000##000000
##7C83411.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)
#8B7D3B
Deuteranopia (green-blind)
#8B7F44
Tritanopia (blue-blind)
#837C74
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c8341;
/* rgb */ color: rgb(124, 131, 65);
/* oklch */ color: oklch(58.9% 0.090 114.2);
Tailwind
colors: {
  custom: {
    50: '#a3a777',
    500: '#7c8341',
    950: '#000000',
  },
}
SCSS
$custom: #7c8341;
$custom-light: #a3a777;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8341",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 65
  },
  "hsl": {
    "h": 66.364,
    "s": 33.673,
    "l": 38.431
  },
  "oklch": {
    "l": 0.58895,
    "c": 0.08987,
    "h": 114.2
  },
  "luminance": 0.20899
}

Semantic roles & 50–950 ramp

primary
#7C8341
secondary
#7B76AA
accent
#5ECA69
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #7C8341

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

Preview Lab → · Contrast checker → · Palette generator →

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