#7B9933#7B9933

#7B9933 is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.9% C 0.133 H 124.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7B9933
RGBrgb(123, 153, 51)
HSLhsl(78, 50%, 40%)
HSVhsv(78, 67%, 60%)
CMYKcmyk(19.6%, 0%, 66.7%, 40%)
CIE-LABlab(59.19, -25.92, 48.29)
CIE-LCHlch(59.19, 54.81, 118.22°)
OKLaboklab(63.93% -0.0746 0.1099)
OKLCHoklch(63.93% 0.133 124.2)
XYZxyz(20.1573, 27.2323, 7.3257)
Luminance0.2723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9933 #513399
analogous
#998433 #7B9933 #489933
triadic
#7B9933 #337B99 #99337B
tetradic
#7B9933 #339984 #513399 #993348
square
#7B9933 #339984 #513399 #993348
split-complementary
#7B9933 #334899 #843399
monochromatic
#313D14 #566B24 #7B9933 #9EC247 #B6D175

Accessibility & contrast

On white

3.26
#7B9933 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#7B9933 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9933
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9933#FFFFFF#000000##000000
##7B99331.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F25
Deuteranopia (green-blind)
#9D8E3B
Tritanopia (blue-blind)
#819284
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b9933;
/* rgb */ color: rgb(123, 153, 51);
/* oklch */ color: oklch(63.9% 0.133 124.2);
Tailwind
colors: {
  custom: {
    50: '#a4b770',
    500: '#7b9933',
    950: '#000000',
  },
}
SCSS
$custom: #7b9933;
$custom-light: #a4b770;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9933",
  "rgb": {
    "r": 123,
    "g": 153,
    "b": 51
  },
  "hsl": {
    "h": 77.647,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.63932,
    "c": 0.13281,
    "h": 124.2
  },
  "luminance": 0.27232
}

Semantic roles & 50–950 ramp

primary
#7B9933
secondary
#846EB9
accent
#4EDA77
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #7B9933

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

Preview Lab → · Contrast checker → · Palette generator →

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