#7C9225#7C9225

#7C9225 is a light, vivid yellow-green. Relative luminance 0.250; OKLCH L 62.2% C 0.133 H 120.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7C9225
RGBrgb(124, 146, 37)
HSLhsl(72, 60%, 36%)
HSVhsv(72, 75%, 57%)
CMYKcmyk(15.1%, 0%, 74.7%, 42.7%)
CIE-LABlab(57.05, -22.91, 51.69)
CIE-LCHlch(57.05, 56.54, 113.90°)
OKLaboklab(62.19% -0.0677 0.1148)
OKLCHoklch(62.19% 0.133 120.5)
XYZxyz(18.9253, 24.9765, 5.5738)
Luminance0.2498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9225 #3B2592
analogous
#927125 #7C9225 #459225
triadic
#7C9225 #257C92 #92257C
tetradic
#7C9225 #259271 #3B2592 #922545
square
#7C9225 #259271 #3B2592 #922545
split-complementary
#7C9225 #254592 #712592
monochromatic
#29300C #536119 #7C9225 #A5C331 #BDD65C

Accessibility & contrast

On white

3.50
#7C9225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#7C9225 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9225
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9225#FFFFFF#000000##000000
##7C92251.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890F
Deuteranopia (green-blind)
#99892F
Tritanopia (blue-blind)
#838A7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7c9225;
/* rgb */ color: rgb(124, 146, 37);
/* oklch */ color: oklch(62.2% 0.133 120.5);
Tailwind
colors: {
  custom: {
    50: '#a5b268',
    500: '#7c9225',
    950: '#000000',
  },
}
SCSS
$custom: #7c9225;
$custom-light: #a5b268;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9225",
  "rgb": {
    "r": 124,
    "g": 146,
    "b": 37
  },
  "hsl": {
    "h": 72.11,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62194,
    "c": 0.13324,
    "h": 120.5
  },
  "luminance": 0.24976
}

Semantic roles & 50–950 ramp

primary
#7C9225
secondary
#6C58BA
accent
#45E365
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C9225

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

Preview Lab → · Contrast checker → · Palette generator →

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