#7B9727#7B9727

#7B9727 is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 63.3% C 0.139 H 122.8°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7B9727
RGBrgb(123, 151, 39)
HSLhsl(75, 59%, 37%)
HSVhsv(75, 74%, 59%)
CMYKcmyk(18.5%, 0%, 74.2%, 40.8%)
CIE-LABlab(58.50, -25.71, 52.34)
CIE-LCHlch(58.50, 58.32, 116.16°)
OKLaboklab(63.35% -0.0751 0.1165)
OKLCHoklch(63.35% 0.139 122.8)
XYZxyz(19.6014, 26.4906, 5.9996)
Luminance0.2649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9727 #432797
analogous
#977B27 #7B9727 #439727
triadic
#7B9727 #277B97 #97277B
tetradic
#7B9727 #27977B #432797 #972743
square
#7B9727 #27977B #432797 #972743
split-complementary
#7B9727 #274397 #7B2797
monochromatic
#2C360E #53661A #7B9727 #A3C834 #B9D662

Accessibility & contrast

On white

3.33
#7B9727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#7B9727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9727
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9727#FFFFFF#000000##000000
##7B97271.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D11
Deuteranopia (green-blind)
#9C8D31
Tritanopia (blue-blind)
#818F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b9727;
/* rgb */ color: rgb(123, 151, 39);
/* oklch */ color: oklch(63.3% 0.139 122.8);
Tailwind
colors: {
  custom: {
    50: '#a4b569',
    500: '#7b9727',
    950: '#000000',
  },
}
SCSS
$custom: #7b9727;
$custom-light: #a4b569;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9727",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 75,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63348,
    "c": 0.13864,
    "h": 122.8
  },
  "luminance": 0.26491
}

Semantic roles & 50–950 ramp

primary
#7B9727
secondary
#755EBC
accent
#46E26D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9727

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

Preview Lab → · Contrast checker → · Palette generator →

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