#7C8D30#7C8D30

#7C8D30 is a mid, moderate yellow-green. Relative luminance 0.235; OKLCH L 61.1% C 0.119 H 118.9°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7C8D30
RGBrgb(124, 141, 48)
HSLhsl(71, 49%, 37%)
HSVhsv(71, 66%, 55%)
CMYKcmyk(12.1%, 0%, 66%, 44.7%)
CIE-LABlab(55.63, -19.67, 45.85)
CIE-LCHlch(55.63, 49.89, 113.22°)
OKLaboklab(61.08% -0.0576 0.1043)
OKLCHoklch(61.08% 0.119 118.9)
XYZxyz(18.3709, 23.5484, 6.3732)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D30 #41308D
analogous
#8D7030 #7C8D30 #4E8D30
triadic
#7C8D30 #307C8D #8D307C
tetradic
#7C8D30 #308D70 #41308D #8D304E
square
#7C8D30 #308D70 #41308D #8D304E
split-complementary
#7C8D30 #304E8D #70308D
monochromatic
#2C3211 #545F20 #7C8D30 #A4BB40 #BBCD6B

Accessibility & contrast

On white

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

On black

5.71
#7C8D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D30
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D30#FFFFFF#000000##000000
##7C8D301.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968524
Deuteranopia (green-blind)
#948637
Tritanopia (blue-blind)
#83867A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8d30;
/* rgb */ color: rgb(124, 141, 48);
/* oklch */ color: oklch(61.1% 0.119 118.9);
Tailwind
colors: {
  custom: {
    50: '#a4ae6d',
    500: '#7c8d30',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d30;
$custom-light: #a4ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d30",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 70.968,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61077,
    "c": 0.11915,
    "h": 118.9
  },
  "luminance": 0.23548
}

Semantic roles & 50–950 ramp

primary
#7C8D30
secondary
#7365B4
accent
#4FD968
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7C8D30

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

Preview Lab → · Contrast checker → · Palette generator →

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