#7B9319#7B9319

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

Color values

HEX#7B9319
RGBrgb(123, 147, 25)
HSLhsl(72, 71%, 34%)
HSVhsv(72, 83%, 58%)
CMYKcmyk(16.3%, 0%, 83%, 42.4%)
CIE-LABlab(57.22, -24.39, 55.67)
CIE-LCHlch(57.22, 60.78, 113.66°)
OKLaboklab(62.29% -0.0726 0.1211)
OKLCHoklch(62.29% 0.141 120.9)
XYZxyz(18.7779, 25.1486, 4.7844)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9319 #311993
analogous
#936E19 #7B9319 #3E9319
triadic
#7B9319 #197B93 #93197B
tetradic
#7B9319 #19936E #311993 #93193E
square
#7B9319 #19936E #311993 #93193E
split-complementary
#7B9319 #193E93 #6E1993
monochromatic
#232A07 #4F5F10 #7B9319 #A7C722 #C2E047

Accessibility & contrast

On white

3.48
#7B9319 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#7B9319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9319
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9319#FFFFFF#000000##000000
##7B93191.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#9A8A26
Tritanopia (blue-blind)
#828B7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b9319;
/* rgb */ color: rgb(123, 147, 25);
/* oklch */ color: oklch(62.3% 0.141 120.9);
Tailwind
colors: {
  custom: {
    50: '#a5b263',
    500: '#7b9319',
    950: '#000000',
  },
}
SCSS
$custom: #7b9319;
$custom-light: #a5b263;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9319",
  "rgb": {
    "r": 123,
    "g": 147,
    "b": 25
  },
  "hsl": {
    "h": 71.803,
    "s": 70.93,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62291,
    "c": 0.14123,
    "h": 120.9
  },
  "luminance": 0.25149
}

Semantic roles & 50–950 ramp

primary
#7B9319
secondary
#5F47C1
accent
#3AEE5D
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9319

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

Preview Lab → · Contrast checker → · Palette generator →

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