#7C8147#7C8147

#7C8147 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.5% C 0.080 H 112.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7C8147
RGBrgb(124, 129, 71)
HSLhsl(65, 29%, 39%)
HSVhsv(65, 45%, 51%)
CMYKcmyk(3.9%, 0%, 45%, 49.4%)
CIE-LABlab(52.33, -11.17, 30.71)
CIE-LCHlch(52.33, 32.68, 109.99°)
OKLaboklab(58.52% -0.0313 0.0741)
OKLCHoklch(58.52% 0.08 112.9)
XYZxyz(17.3000, 20.4408, 8.9941)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8147 #4C4781
analogous
#816947 #7C8147 #5F8147
triadic
#7C8147 #477C81 #81477C
tetradic
#7C8147 #478169 #4C4781 #81475F
square
#7C8147 #478169 #4C4781 #81475F
split-complementary
#7C8147 #475F81 #694781
monochromatic
#30321C #565A31 #7C8147 #A0A75F #B8BC86

Accessibility & contrast

On white

4.13
#7C8147 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7C8147 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8147
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8147#FFFFFF#000000##000000
##7C81471.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C42
Deuteranopia (green-blind)
#897E4A
Tritanopia (blue-blind)
#827B73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c8147;
/* rgb */ color: rgb(124, 129, 71);
/* oklch */ color: oklch(58.5% 0.080 112.9);
Tailwind
colors: {
  custom: {
    50: '#a3a57b',
    500: '#7c8147',
    950: '#000000',
  },
}
SCSS
$custom: #7c8147;
$custom-light: #a3a57b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8147",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 71
  },
  "hsl": {
    "h": 65.172,
    "s": 29,
    "l": 39.216
  },
  "oklch": {
    "l": 0.58516,
    "c": 0.08039,
    "h": 112.9
  },
  "luminance": 0.20441
}

Semantic roles & 50–950 ramp

primary
#7C8147
secondary
#807CA8
accent
#63C56B
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #7C8147

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

Preview Lab → · Contrast checker → · Palette generator →

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