#7B9318#7B9318

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

Color values

HEX#7B9318
RGBrgb(123, 147, 24)
HSLhsl(72, 72%, 34%)
HSVhsv(72, 84%, 58%)
CMYKcmyk(16.3%, 0%, 83.7%, 42.4%)
CIE-LABlab(57.22, -24.43, 55.93)
CIE-LCHlch(57.22, 61.04, 113.59°)
OKLaboklab(62.29% -0.0728 0.1215)
OKLCHoklch(62.29% 0.142 120.9)
XYZxyz(18.7673, 25.1444, 4.7286)
Luminance0.2514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9318 #301893
analogous
#936D18 #7B9318 #3D9318
triadic
#7B9318 #187B93 #93187B
tetradic
#7B9318 #18936D #301893 #93183D
square
#7B9318 #18936D #301893 #93183D
split-complementary
#7B9318 #183D93 #6D1893
monochromatic
#232A07 #4F5E0F #7B9318 #A7C821 #C2E145

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9318#FFFFFF#000000##000000
##7B93181.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)
#9A8926
Tritanopia (blue-blind)
#828B7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b9318;
/* rgb */ color: rgb(123, 147, 24);
/* oklch */ color: oklch(62.3% 0.142 120.9);
Tailwind
colors: {
  custom: {
    50: '#a5b262',
    500: '#7b9318',
    950: '#000000',
  },
}
SCSS
$custom: #7b9318;
$custom-light: #a5b262;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9318",
  "rgb": {
    "r": 123,
    "g": 147,
    "b": 24
  },
  "hsl": {
    "h": 71.707,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62287,
    "c": 0.14167,
    "h": 120.9
  },
  "luminance": 0.25144
}

Semantic roles & 50–950 ramp

primary
#7B9318
secondary
#5D45C2
accent
#39EF5D
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9318

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

Preview Lab → · Contrast checker → · Palette generator →

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