#7C8149#7C8149

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

Color values

HEX#7C8149
RGBrgb(124, 129, 73)
HSLhsl(65, 28%, 40%)
HSVhsv(65, 43%, 51%)
CMYKcmyk(3.9%, 0%, 43.4%, 49.4%)
CIE-LABlab(52.36, -10.94, 29.67)
CIE-LCHlch(52.36, 31.62, 110.25°)
OKLaboklab(58.55% -0.0305 0.0718)
OKLCHoklch(58.55% 0.078 113)
XYZxyz(17.3652, 20.4669, 9.3378)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8149 #4E4981
analogous
#816A49 #7C8149 #608149
triadic
#7C8149 #497C81 #81497C
tetradic
#7C8149 #49816A #4E4981 #814960
square
#7C8149 #49816A #4E4981 #814960
split-complementary
#7C8149 #496081 #6A4981
monochromatic
#31331D #565A33 #7C8149 #A0A661 #B7BC88

Accessibility & contrast

On white

4.12
#7C8149 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8149#FFFFFF#000000##000000
##7C81491.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C45
Deuteranopia (green-blind)
#887E4C
Tritanopia (blue-blind)
#827B73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c8149;
/* rgb */ color: rgb(124, 129, 73);
/* oklch */ color: oklch(58.5% 0.078 113.0);
Tailwind
colors: {
  custom: {
    50: '#a3a57d',
    500: '#7c8149',
    950: '#000000',
  },
}
SCSS
$custom: #7c8149;
$custom-light: #a3a57d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8149",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 73
  },
  "hsl": {
    "h": 65.357,
    "s": 27.723,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58549,
    "c": 0.07802,
    "h": 113
  },
  "luminance": 0.20467
}

Semantic roles & 50–950 ramp

primary
#7C8149
secondary
#827EA8
accent
#64C46C
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #7C8149

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

Preview Lab → · Contrast checker → · Palette generator →

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