#7C9538#7C9538

#7C9538 is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 63.1% C 0.123 H 122.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7C9538
RGBrgb(124, 149, 56)
HSLhsl(76, 45%, 40%)
HSVhsv(76, 62%, 58%)
CMYKcmyk(16.8%, 0%, 62.4%, 41.6%)
CIE-LABlab(58.10, -23.12, 44.94)
CIE-LCHlch(58.10, 50.54, 117.23°)
OKLaboklab(63.08% -0.0664 0.1035)
OKLCHoklch(63.08% 0.123 122.7)
XYZxyz(19.7736, 26.0654, 7.7300)
Luminance0.2607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9538 #513895
analogous
#957F38 #7C9538 #4D9538
triadic
#7C9538 #387C95 #95387C
tetradic
#7C9538 #38957F #513895 #95384D
square
#7C9538 #38957F #513895 #95384D
split-complementary
#7C9538 #384D95 #7F3895
monochromatic
#323C17 #576927 #7C9538 #9FBC4E #B7CD7A

Accessibility & contrast

On white

3.38
#7C9538 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#7C9538 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9538
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9538#FFFFFF#000000##000000
##7C95381.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C2D
Deuteranopia (green-blind)
#9A8C3E
Tritanopia (blue-blind)
#828E81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7c9538;
/* rgb */ color: rgb(124, 149, 56);
/* oklch */ color: oklch(63.1% 0.123 122.7);
Tailwind
colors: {
  custom: {
    50: '#a4b473',
    500: '#7c9538',
    950: '#000000',
  },
}
SCSS
$custom: #7c9538;
$custom-light: #a4b473;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9538",
  "rgb": {
    "r": 124,
    "g": 149,
    "b": 56
  },
  "hsl": {
    "h": 76.129,
    "s": 45.366,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63084,
    "c": 0.12296,
    "h": 122.7
  },
  "luminance": 0.26066
}

Semantic roles & 50–950 ramp

primary
#7C9538
secondary
#8573B6
accent
#53D576
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #7C9538

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

Preview Lab → · Contrast checker → · Palette generator →

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