#7D9229#7D9229

#7D9229 is a light, vivid yellow-green. Relative luminance 0.251; OKLCH L 62.3% C 0.130 H 120.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7D9229
RGBrgb(125, 146, 41)
HSLhsl(72, 56%, 37%)
HSVhsv(72, 72%, 57%)
CMYKcmyk(14.4%, 0%, 71.9%, 42.7%)
CIE-LABlab(57.15, -22.25, 50.31)
CIE-LCHlch(57.15, 55.01, 113.86°)
OKLaboklab(62.3% -0.0655 0.1125)
OKLCHoklch(62.3% 0.13 120.2)
XYZxyz(19.1369, 25.0779, 5.9298)
Luminance0.2508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9229 #3E2992
analogous
#927329 #7D9229 #499229
triadic
#7D9229 #297D92 #92297D
tetradic
#7D9229 #299273 #3E2992 #922949
square
#7D9229 #299273 #3E2992 #922949
split-complementary
#7D9229 #294992 #732992
monochromatic
#2B320E #54621C #7D9229 #A6C236 #BCD362

Accessibility & contrast

On white

3.49
#7D9229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#7D9229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9229
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9229#FFFFFF#000000##000000
##7D92291.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8917
Deuteranopia (green-blind)
#998932
Tritanopia (blue-blind)
#848A7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7d9229;
/* rgb */ color: rgb(125, 146, 41);
/* oklch */ color: oklch(62.3% 0.130 120.2);
Tailwind
colors: {
  custom: {
    50: '#a6b26a',
    500: '#7d9229',
    950: '#000000',
  },
}
SCSS
$custom: #7d9229;
$custom-light: #a6b26a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9229",
  "rgb": {
    "r": 125,
    "g": 146,
    "b": 41
  },
  "hsl": {
    "h": 72,
    "s": 56.15,
    "l": 36.667
  },
  "oklch": {
    "l": 0.623,
    "c": 0.13023,
    "h": 120.2
  },
  "luminance": 0.25078
}

Semantic roles & 50–950 ramp

primary
#7D9229
secondary
#705EB9
accent
#48DF67
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D9229

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

Preview Lab → · Contrast checker → · Palette generator →

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