#7B942E#7B942E

#7B942E is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.7% C 0.130 H 122.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7B942E
RGBrgb(123, 148, 46)
HSLhsl(75, 53%, 38%)
HSVhsv(75, 69%, 58%)
CMYKcmyk(16.9%, 0%, 68.9%, 42%)
CIE-LABlab(57.64, -23.79, 48.77)
CIE-LCHlch(57.64, 54.26, 116.00°)
OKLaboklab(62.67% -0.0692 0.1101)
OKLCHoklch(62.67% 0.13 122.1)
XYZxyz(19.2517, 25.5880, 6.5090)
Luminance0.2559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B942E #472E94
analogous
#947A2E #7B942E #48942E
triadic
#7B942E #2E7B94 #942E7B
tetradic
#7B942E #2E947A #472E94 #942E48
square
#7B942E #2E947A #472E94 #942E48
split-complementary
#7B942E #2E4894 #7A2E94
monochromatic
#2D3711 #54651F #7B942E #A2C33D #B8D16B

Accessibility & contrast

On white

3.43
#7B942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#7B942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B942E
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B942E#FFFFFF#000000##000000
##7B942E1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B1F
Deuteranopia (green-blind)
#9A8A36
Tritanopia (blue-blind)
#818C7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7b942e;
/* rgb */ color: rgb(123, 148, 46);
/* oklch */ color: oklch(62.7% 0.130 122.1);
Tailwind
colors: {
  custom: {
    50: '#a4b36d',
    500: '#7b942e',
    950: '#000000',
  },
}
SCSS
$custom: #7b942e;
$custom-light: #a4b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b942e",
  "rgb": {
    "r": 123,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 74.706,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62672,
    "c": 0.13007,
    "h": 122.1
  },
  "luminance": 0.25588
}

Semantic roles & 50–950 ramp

primary
#7B942E
secondary
#7A66B8
accent
#4CDC6F
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7B942E

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

Preview Lab → · Contrast checker → · Palette generator →

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