#7D9B1F#7D9B1F

#7D9B1F is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 64.4% C 0.147 H 123.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7D9B1F
RGBrgb(125, 155, 31)
HSLhsl(75, 67%, 36%)
HSVhsv(75, 80%, 61%)
CMYKcmyk(19.4%, 0%, 80%, 39.2%)
CIE-LABlab(59.80, -27.23, 56.29)
CIE-LCHlch(59.80, 62.53, 115.82°)
OKLaboklab(64.42% -0.08 0.1234)
OKLCHoklch(64.42% 0.147 123)
XYZxyz(20.4264, 27.9015, 5.6055)
Luminance0.2790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9B1F #3D1F9B
analogous
#9B7B1F #7D9B1F #3F9B1F
triadic
#7D9B1F #1F7D9B #9B1F7D
tetradic
#7D9B1F #1F9B7B #3D1F9B #9B1F3F
square
#7D9B1F #1F9B7B #3D1F9B #9B1F3F
split-complementary
#7D9B1F #1F3F9B #7B1F9B
monochromatic
#2B350B #546815 #7D9B1F #A6CE29 #BDDD57

Accessibility & contrast

On white

3.19
#7D9B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#7D9B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9B1F
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9B1F#FFFFFF#000000##000000
##7D9B1F1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A1902C
Tritanopia (blue-blind)
#849384
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7d9b1f;
/* rgb */ color: rgb(125, 155, 31);
/* oklch */ color: oklch(64.4% 0.147 123.0);
Tailwind
colors: {
  custom: {
    50: '#a6b866',
    500: '#7d9b1f',
    950: '#000000',
  },
}
SCSS
$custom: #7d9b1f;
$custom-light: #a6b866;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9b1f",
  "rgb": {
    "r": 125,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 74.516,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6442,
    "c": 0.1471,
    "h": 123
  },
  "luminance": 0.27902
}

Semantic roles & 50–950 ramp

primary
#7D9B1F
secondary
#6F55C1
accent
#3EEA68
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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