#7C8D2B#7C8D2B

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

Color values

HEX#7C8D2B
RGBrgb(124, 141, 43)
HSLhsl(70, 53%, 36%)
HSVhsv(70, 70%, 55%)
CMYKcmyk(12.1%, 0%, 69.5%, 44.7%)
CIE-LABlab(55.59, -20.01, 47.93)
CIE-LCHlch(55.59, 51.94, 112.66°)
OKLaboklab(61.03% -0.0591 0.1079)
OKLCHoklch(61.03% 0.123 118.7)
XYZxyz(18.2735, 23.5094, 5.8601)
Luminance0.2351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D2B #3C2B8D
analogous
#8D6D2B #7C8D2B #4B8D2B
triadic
#7C8D2B #2B7C8D #8D2B7C
tetradic
#7C8D2B #2B8D6D #3C2B8D #8D2B4B
square
#7C8D2B #2B8D6D #3C2B8D #8D2B4B
split-complementary
#7C8D2B #2B4B8D #6D2B8D
monochromatic
#2A2F0E #535E1D #7C8D2B #A5BC39 #BDCF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8D2B#FFFFFF#000000##000000
##7C8D2B1.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)
#96851C
Deuteranopia (green-blind)
#948632
Tritanopia (blue-blind)
#838579
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8d2b;
/* rgb */ color: rgb(124, 141, 43);
/* oklch */ color: oklch(61.0% 0.123 118.7);
Tailwind
colors: {
  custom: {
    50: '#a5ae6a',
    500: '#7c8d2b',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d2b;
$custom-light: #a5ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d2b",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 70.408,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61032,
    "c": 0.12299,
    "h": 118.7
  },
  "luminance": 0.23509
}

Semantic roles & 50–950 ramp

primary
#7C8D2B
secondary
#6D5EB6
accent
#4BDD64
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7C8D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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