#7B9223#7B9223

#7B9223 is a light, vivid yellow-green. Relative luminance 0.249; OKLCH L 62.1% C 0.135 H 120.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7B9223
RGBrgb(123, 146, 35)
HSLhsl(72, 61%, 35%)
HSVhsv(72, 76%, 57%)
CMYKcmyk(15.8%, 0%, 76%, 42.7%)
CIE-LABlab(56.97, -23.45, 52.30)
CIE-LCHlch(56.97, 57.31, 114.15°)
OKLaboklab(62.1% -0.0693 0.1157)
OKLCHoklch(62.1% 0.135 120.9)
XYZxyz(18.7510, 24.8901, 5.4062)
Luminance0.2489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9223 #3A2392
analogous
#927123 #7B9223 #449223
triadic
#7B9223 #237B92 #92237B
tetradic
#7B9223 #239271 #3A2392 #922344
square
#7B9223 #239271 #3A2392 #922344
split-complementary
#7B9223 #234492 #712392
monochromatic
#282F0B #516117 #7B9223 #A5C32F #BDD758

Accessibility & contrast

On white

3.51
#7B9223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#7B9223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9223
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9223#FFFFFF#000000##000000
##7B92231.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890A
Deuteranopia (green-blind)
#99892D
Tritanopia (blue-blind)
#828A7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b9223;
/* rgb */ color: rgb(123, 146, 35);
/* oklch */ color: oklch(62.1% 0.135 120.9);
Tailwind
colors: {
  custom: {
    50: '#a4b267',
    500: '#7b9223',
    950: '#000000',
  },
}
SCSS
$custom: #7b9223;
$custom-light: #a4b267;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9223",
  "rgb": {
    "r": 123,
    "g": 146,
    "b": 35
  },
  "hsl": {
    "h": 72.432,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62104,
    "c": 0.13488,
    "h": 120.9
  },
  "luminance": 0.2489
}

Semantic roles & 50–950 ramp

primary
#7B9223
secondary
#6B55BB
accent
#43E465
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B9223

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

Preview Lab → · Contrast checker → · Palette generator →

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