#7C9239#7C9239

#7C9239 is a light, moderate yellow-green. Relative luminance 0.251; OKLCH L 62.4% C 0.118 H 121.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7C9239
RGBrgb(124, 146, 57)
HSLhsl(75, 44%, 40%)
HSVhsv(75, 61%, 57%)
CMYKcmyk(15.1%, 0%, 61%, 42.7%)
CIE-LABlab(57.21, -21.52, 43.50)
CIE-LCHlch(57.21, 48.54, 116.33°)
OKLaboklab(62.37% -0.0619 0.1005)
OKLCHoklch(62.37% 0.118 121.6)
XYZxyz(19.3298, 25.1383, 7.7039)
Luminance0.2514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9239 #4F3992
analogous
#927B39 #7C9239 #509239
triadic
#7C9239 #397C92 #92397C
tetradic
#7C9239 #39927B #4F3992 #923950
square
#7C9239 #39927B #4F3992 #923950
split-complementary
#7C9239 #395092 #7B3992
monochromatic
#313A17 #576628 #7C9239 #9FBA4E #B7CB7A

Accessibility & contrast

On white

3.48
#7C9239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#7C9239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9239
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9239#FFFFFF#000000##000000
##7C92391.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A2F
Deuteranopia (green-blind)
#98893F
Tritanopia (blue-blind)
#828B7F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7c9239;
/* rgb */ color: rgb(124, 146, 57);
/* oklch */ color: oklch(62.4% 0.118 121.6);
Tailwind
colors: {
  custom: {
    50: '#a4b273',
    500: '#7c9239',
    950: '#000000',
  },
}
SCSS
$custom: #7c9239;
$custom-light: #a4b273;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9239",
  "rgb": {
    "r": 124,
    "g": 146,
    "b": 57
  },
  "hsl": {
    "h": 74.831,
    "s": 43.842,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62371,
    "c": 0.11805,
    "h": 121.6
  },
  "luminance": 0.25138
}

Semantic roles & 50–950 ramp

primary
#7C9239
secondary
#8372B4
accent
#54D474
background
#FAFAF7
surface
#F4F5ED
border
#CECFC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C9239

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

Preview Lab → · Contrast checker → · Palette generator →

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