#7C8D33#7C8D33

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

Color values

HEX#7C8D33
RGBrgb(124, 141, 51)
HSLhsl(71, 47%, 38%)
HSVhsv(71, 64%, 55%)
CMYKcmyk(12.1%, 0%, 63.8%, 44.7%)
CIE-LABlab(55.66, -19.45, 44.55)
CIE-LCHlch(55.66, 48.61, 113.58°)
OKLaboklab(61.11% -0.0567 0.102)
OKLCHoklch(61.11% 0.117 119.1)
XYZxyz(18.4349, 23.5740, 6.7104)
Luminance0.2357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D33 #44338D
analogous
#8D7133 #7C8D33 #4F8D33
triadic
#7C8D33 #337C8D #8D337C
tetradic
#7C8D33 #338D71 #44338D #8D334F
square
#7C8D33 #338D71 #44338D #8D334F
split-complementary
#7C8D33 #334F8D #71338D
monochromatic
#2D3312 #546023 #7C8D33 #A4BA43 #BACB6F

Accessibility & contrast

On white

3.67
#7C8D33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8D33#FFFFFF#000000##000000
##7C8D331.003.675.715.71
#FFFFFF3.671.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c8d33;
/* rgb */ color: rgb(124, 141, 51);
/* oklch */ color: oklch(61.1% 0.117 119.1);
Tailwind
colors: {
  custom: {
    50: '#a4ae6f',
    500: '#7c8d33',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d33;
$custom-light: #a4ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d33",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 51
  },
  "hsl": {
    "h": 71.333,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61106,
    "c": 0.11667,
    "h": 119.1
  },
  "luminance": 0.23574
}

Semantic roles & 50–950 ramp

primary
#7C8D33
secondary
#7769B3
accent
#51D76A
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7C8D33

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

Preview Lab → · Contrast checker → · Palette generator →

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