#7C8D2C#7C8D2C

#7C8D2C is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 61.0% C 0.122 H 118.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7C8D2C
RGBrgb(124, 141, 44)
HSLhsl(71, 52%, 36%)
HSVhsv(71, 69%, 55%)
CMYKcmyk(12.1%, 0%, 68.8%, 44.7%)
CIE-LABlab(55.60, -19.95, 47.52)
CIE-LCHlch(55.60, 51.54, 112.77°)
OKLaboklab(61.04% -0.0588 0.1072)
OKLCHoklch(61.04% 0.122 118.7)
XYZxyz(18.2920, 23.5168, 5.9580)
Luminance0.2352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D2C #3D2C8D
analogous
#8D6E2C #7C8D2C #4C8D2C
triadic
#7C8D2C #2C7C8D #8D2C7C
tetradic
#7C8D2C #2C8D6E #3D2C8D #8D2C4C
square
#7C8D2C #2C8D6E #3D2C8D #8D2C4C
split-complementary
#7C8D2C #2C4C8D #6E2C8D
monochromatic
#2A300F #535E1D #7C8D2C #A5BC3B #BCCF65

Accessibility & contrast

On white

3.68
#7C8D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#7C8D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D2C
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D2C#FFFFFF#000000##000000
##7C8D2C1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851E
Deuteranopia (green-blind)
#948633
Tritanopia (blue-blind)
#838579
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8d2c;
/* rgb */ color: rgb(124, 141, 44);
/* oklch */ color: oklch(61.0% 0.122 118.7);
Tailwind
colors: {
  custom: {
    50: '#a5ae6b',
    500: '#7c8d2c',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d2c;
$custom-light: #a5ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d2c",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 70.515,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61041,
    "c": 0.12225,
    "h": 118.7
  },
  "luminance": 0.23517
}

Semantic roles & 50–950 ramp

primary
#7C8D2C
secondary
#6F60B5
accent
#4CDC65
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7C8D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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