#7B9935#7B9935

#7B9935 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 64.0% C 0.131 H 124.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7B9935
RGBrgb(123, 153, 53)
HSLhsl(78, 49%, 40%)
HSVhsv(78, 65%, 60%)
CMYKcmyk(19.6%, 0%, 65.4%, 40%)
CIE-LABlab(59.21, -25.77, 47.45)
CIE-LCHlch(59.21, 54.00, 118.50°)
OKLaboklab(63.95% -0.074 0.1084)
OKLCHoklch(63.95% 0.131 124.3)
XYZxyz(20.2023, 27.2503, 7.5630)
Luminance0.2725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9935 #533599
analogous
#998535 #7B9935 #499935
triadic
#7B9935 #357B99 #99357B
tetradic
#7B9935 #359985 #533599 #993549
square
#7B9935 #359985 #533599 #993549
split-complementary
#7B9935 #354999 #853599
monochromatic
#323E16 #566C25 #7B9935 #9DC14B #B6D078

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9935#FFFFFF#000000##000000
##7B99351.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)
#A18F28
Deuteranopia (green-blind)
#9D8E3C
Tritanopia (blue-blind)
#819284
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b9935;
/* rgb */ color: rgb(123, 153, 53);
/* oklch */ color: oklch(64.0% 0.131 124.3);
Tailwind
colors: {
  custom: {
    50: '#a4b771',
    500: '#7b9935',
    950: '#000000',
  },
}
SCSS
$custom: #7b9935;
$custom-light: #a4b771;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9935",
  "rgb": {
    "r": 123,
    "g": 153,
    "b": 53
  },
  "hsl": {
    "h": 78,
    "s": 48.544,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63951,
    "c": 0.13124,
    "h": 124.3
  },
  "luminance": 0.2725
}

Semantic roles & 50–950 ramp

primary
#7B9935
secondary
#8671B9
accent
#50D879
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #7B9935

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

Preview Lab → · Contrast checker → · Palette generator →

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