#7F9935#7F9935

#7F9935 is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.2% C 0.129 H 122.5°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7F9935
RGBrgb(127, 153, 53)
HSLhsl(76, 49%, 40%)
HSVhsv(76, 65%, 60%)
CMYKcmyk(17%, 0%, 65.4%, 40%)
CIE-LABlab(59.48, -24.11, 47.83)
CIE-LCHlch(59.48, 53.56, 116.75°)
OKLaboklab(64.24% -0.0696 0.1091)
OKLCHoklch(64.24% 0.129 122.5)
XYZxyz(20.7864, 27.5515, 7.5904)
Luminance0.2755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9935 #4F3599
analogous
#998135 #7F9935 #4D9935
triadic
#7F9935 #357F99 #99357F
tetradic
#7F9935 #359981 #4F3599 #99354D
square
#7F9935 #359981 #4F3599 #99354D
split-complementary
#7F9935 #354D99 #813599
monochromatic
#343E16 #596C25 #7F9935 #A2C14B #B9D078

Accessibility & contrast

On white

3.23
#7F9935 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#7F9935 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9935
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9935#FFFFFF#000000##000000
##7F99351.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29028
Deuteranopia (green-blind)
#9E8F3C
Tritanopia (blue-blind)
#859184
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f9935;
/* rgb */ color: rgb(127, 153, 53);
/* oklch */ color: oklch(64.2% 0.129 122.5);
Tailwind
colors: {
  custom: {
    50: '#a7b771',
    500: '#7f9935',
    950: '#000000',
  },
}
SCSS
$custom: #7f9935;
$custom-light: #a7b771;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9935",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 53
  },
  "hsl": {
    "h": 75.6,
    "s": 48.544,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64244,
    "c": 0.12944,
    "h": 122.5
  },
  "luminance": 0.27552
}

Semantic roles & 50–950 ramp

primary
#7F9935
secondary
#8471B9
accent
#50D873
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101108
muted
#7F807B

Preview Lab

Preview with #7F9935

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

Preview Lab → · Contrast checker → · Palette generator →

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