#7B901D#7B901D

#7B901D is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.6% C 0.136 H 120.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7B901D
RGBrgb(123, 144, 29)
HSLhsl(71, 66%, 34%)
HSVhsv(71, 80%, 56%)
CMYKcmyk(14.6%, 0%, 79.9%, 43.5%)
CIE-LABlab(56.33, -22.73, 53.70)
CIE-LCHlch(56.33, 58.31, 112.94°)
OKLaboklab(61.58% -0.0678 0.1176)
OKLCHoklch(61.58% 0.136 120)
XYZxyz(18.3638, 24.2463, 4.8747)
Luminance0.2425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B901D #321D90
analogous
#906C1D #7B901D #41901D
triadic
#7B901D #1D7B90 #901D7B
tetradic
#7B901D #1D906C #321D90 #901D41
square
#7B901D #1D906C #321D90 #901D41
split-complementary
#7B901D #1D4190 #6C1D90
monochromatic
#242A08 #4F5D13 #7B901D #A7C327 #C1DB4C

Accessibility & contrast

On white

3.59
#7B901D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#7B901D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B901D
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B901D#FFFFFF#000000##000000
##7B901D1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#978728
Tritanopia (blue-blind)
#82887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b901d;
/* rgb */ color: rgb(123, 144, 29);
/* oklch */ color: oklch(61.6% 0.136 120.0);
Tailwind
colors: {
  custom: {
    50: '#a5b064',
    500: '#7b901d',
    950: '#000000',
  },
}
SCSS
$custom: #7b901d;
$custom-light: #a5b064;
$custom-dark: #000000;
JSON
{
  "hex": "#7b901d",
  "rgb": {
    "r": 123,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 70.957,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61582,
    "c": 0.13576,
    "h": 120
  },
  "luminance": 0.24246
}

Semantic roles & 50–950 ramp

primary
#7B901D
secondary
#604BBD
accent
#3EE95E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B901D

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

Preview Lab → · Contrast checker → · Palette generator →

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