#7BAF2E#7BAF2E

#7BAF2E is a light, vivid yellow-green. Relative luminance 0.351; OKLCH L 69.3% C 0.165 H 129.3°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7BAF2E
RGBrgb(123, 175, 46)
HSLhsl(84, 58%, 43%)
HSVhsv(84, 74%, 69%)
CMYKcmyk(29.7%, 0%, 73.7%, 31.4%)
CIE-LABlab(65.80, -36.60, 56.96)
CIE-LCHlch(65.80, 67.71, 122.72°)
OKLaboklab(69.28% -0.1043 0.1273)
OKLCHoklch(69.28% 0.165 129.3)
XYZxyz(23.9914, 35.0675, 8.0889)
Luminance0.3507 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAF2E #622EAF
analogous
#AFA22E #7BAF2E #3AAF2E
triadic
#7BAF2E #2E7BAF #AF2E7B
tetradic
#7BAF2E #2EAFA2 #622EAF #AF2E3A
square
#7BAF2E #2EAFA2 #622EAF #AF2E3A
split-complementary
#7BAF2E #2E3AAF #A22EAF
monochromatic
#374E15 #597F21 #7BAF2E #9AD04B #B5DC7B

Accessibility & contrast

On white

2.62
#7BAF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#7BAF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAF2E
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAF2E#FFFFFF#000000##000000
##7BAF2E1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A215
Deuteranopia (green-blind)
#B09F3A
Tritanopia (blue-blind)
#7FA796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7baf2e;
/* rgb */ color: rgb(123, 175, 46);
/* oklch */ color: oklch(69.3% 0.165 129.3);
Tailwind
colors: {
  custom: {
    50: '#a5c770',
    500: '#7baf2e',
    950: '#000000',
  },
}
SCSS
$custom: #7baf2e;
$custom-light: #a5c770;
$custom-dark: #000000;
JSON
{
  "hex": "#7baf2e",
  "rgb": {
    "r": 123,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 84.186,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69282,
    "c": 0.1646,
    "h": 129.3
  },
  "luminance": 0.35068
}

Semantic roles & 50–950 ramp

primary
#7BAF2E
secondary
#9574C5
accent
#46E285
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BAF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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