#7D9C1C#7D9C1C

#7D9C1C is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.6% C 0.150 H 123.2°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7D9C1C
RGBrgb(125, 156, 28)
HSLhsl(75, 70%, 36%)
HSVhsv(75, 82%, 61%)
CMYKcmyk(19.9%, 0%, 82.1%, 38.8%)
CIE-LABlab(60.09, -27.84, 57.42)
CIE-LCHlch(60.09, 63.81, 115.86°)
OKLaboklab(64.65% -0.0819 0.1253)
OKLCHoklch(64.65% 0.15 123.2)
XYZxyz(20.5558, 28.2206, 5.4626)
Luminance0.2822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9C1C #3B1C9C
analogous
#9C7B1C #7D9C1C #3D9C1C
triadic
#7D9C1C #1C7D9C #9C1C7D
tetradic
#7D9C1C #1C9C7B #3B1C9C #9C1C3D
square
#7D9C1C #1C9C7B #3B1C9C #9C1C3D
split-complementary
#7D9C1C #1C3D9C #7B1C9C
monochromatic
#2A3409 #536813 #7D9C1C #A7D025 #BEE052

Accessibility & contrast

On white

3.16
#7D9C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#7D9C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9C1C
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9C1C#FFFFFF#000000##000000
##7D9C1C1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#A1912A
Tritanopia (blue-blind)
#849485
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7d9c1c;
/* rgb */ color: rgb(125, 156, 28);
/* oklch */ color: oklch(64.6% 0.150 123.2);
Tailwind
colors: {
  custom: {
    50: '#a6b965',
    500: '#7d9c1c',
    950: '#000000',
  },
}
SCSS
$custom: #7d9c1c;
$custom-light: #a6b965;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9c1c",
  "rgb": {
    "r": 125,
    "g": 156,
    "b": 28
  },
  "hsl": {
    "h": 74.531,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64648,
    "c": 0.14972,
    "h": 123.2
  },
  "luminance": 0.28221
}

Semantic roles & 50–950 ramp

primary
#7D9C1C
secondary
#6C51C3
accent
#3BEC66
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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