#7D9227#7D9227

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

Color values

HEX#7D9227
RGBrgb(125, 146, 39)
HSLhsl(72, 58%, 36%)
HSVhsv(72, 73%, 57%)
CMYKcmyk(14.4%, 0%, 73.3%, 42.7%)
CIE-LABlab(57.14, -22.37, 51.06)
CIE-LCHlch(57.14, 55.75, 113.66°)
OKLaboklab(62.29% -0.066 0.1138)
OKLCHoklch(62.29% 0.132 120.1)
XYZxyz(19.1029, 25.0643, 5.7506)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9227 #3C2792
analogous
#927227 #7D9227 #489227
triadic
#7D9227 #277D92 #92277D
tetradic
#7D9227 #279272 #3C2792 #922748
square
#7D9227 #279272 #3C2792 #922748
split-complementary
#7D9227 #274892 #722792
monochromatic
#2A310D #54621A #7D9227 #A6C234 #BDD45F

Accessibility & contrast

On white

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

On black

6.01
#7D9227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9227
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9227#FFFFFF#000000##000000
##7D92271.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d9227;
/* rgb */ color: rgb(125, 146, 39);
/* oklch */ color: oklch(62.3% 0.132 120.1);
Tailwind
colors: {
  custom: {
    50: '#a6b269',
    500: '#7d9227',
    950: '#000000',
  },
}
SCSS
$custom: #7d9227;
$custom-light: #a6b269;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9227",
  "rgb": {
    "r": 125,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 71.776,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62286,
    "c": 0.13155,
    "h": 120.1
  },
  "luminance": 0.25064
}

Semantic roles & 50–950 ramp

primary
#7D9227
secondary
#6E5BBA
accent
#47E165
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D9227

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

Preview Lab → · Contrast checker → · Palette generator →

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