#7FA233#7FA233

#7FA233 is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 66.4% C 0.143 H 125.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7FA233
RGBrgb(127, 162, 51)
HSLhsl(79, 52%, 42%)
HSVhsv(79, 69%, 64%)
CMYKcmyk(21.6%, 0%, 68.5%, 36.5%)
CIE-LABlab(62.16, -28.65, 51.48)
CIE-LCHlch(62.16, 58.91, 119.10°)
OKLaboklab(66.4% -0.0824 0.1165)
OKLCHoklch(66.4% 0.143 125.3)
XYZxyz(22.2704, 30.5914, 7.8628)
Luminance0.3059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA233 #5633A2
analogous
#A28E33 #7FA233 #48A233
triadic
#7FA233 #337FA2 #A2337F
tetradic
#7FA233 #33A28E #5633A2 #A23348
square
#7FA233 #33A28E #5633A2 #A23348
split-complementary
#7FA233 #3348A2 #8E33A2
monochromatic
#364516 #5B7324 #7FA233 #A0C74C #B9D57A

Accessibility & contrast

On white

2.95
#7FA233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#7FA233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA233
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA233#FFFFFF#000000##000000
##7FA2331.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9723
Deuteranopia (green-blind)
#A6963C
Tritanopia (blue-blind)
#859A8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa233;
/* rgb */ color: rgb(127, 162, 51);
/* oklch */ color: oklch(66.4% 0.143 125.3);
Tailwind
colors: {
  custom: {
    50: '#a7bd71',
    500: '#7fa233',
    950: '#000000',
  },
}
SCSS
$custom: #7fa233;
$custom-light: #a7bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa233",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 78.919,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66403,
    "c": 0.1427,
    "h": 125.3
  },
  "luminance": 0.30592
}

Semantic roles & 50–950 ramp

primary
#7FA233
secondary
#8B73BE
accent
#4CDC79
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA233

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

Preview Lab → · Contrast checker → · Palette generator →

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