#7BAF2D#7BAF2D

#7BAF2D 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#7BAF2D
RGBrgb(123, 175, 45)
HSLhsl(84, 59%, 43%)
HSVhsv(84, 74%, 69%)
CMYKcmyk(29.7%, 0%, 74.3%, 31.4%)
CIE-LABlab(65.80, -36.66, 57.31)
CIE-LCHlch(65.80, 68.03, 122.61°)
OKLaboklab(69.27% -0.1046 0.1279)
OKLCHoklch(69.27% 0.165 129.3)
XYZxyz(23.9719, 35.0597, 7.9863)
Luminance0.3506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAF2D #612DAF
analogous
#AFA22D #7BAF2D #3AAF2D
triadic
#7BAF2D #2D7BAF #AF2D7B
tetradic
#7BAF2D #2DAFA2 #612DAF #AF2D3A
square
#7BAF2D #2DAFA2 #612DAF #AF2D3A
split-complementary
#7BAF2D #2D3AAF #A22DAF
monochromatic
#374E14 #597E20 #7BAF2D #9AD049 #B5DD7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BAF2D#FFFFFF#000000##000000
##7BAF2D1.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)
#B7A212
Deuteranopia (green-blind)
#B09F39
Tritanopia (blue-blind)
#7FA796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7baf2d;
/* rgb */ color: rgb(123, 175, 45);
/* oklch */ color: oklch(69.3% 0.165 129.3);
Tailwind
colors: {
  custom: {
    50: '#a5c76f',
    500: '#7baf2d',
    950: '#000000',
  },
}
SCSS
$custom: #7baf2d;
$custom-light: #a5c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#7baf2d",
  "rgb": {
    "r": 123,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 84,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69275,
    "c": 0.1652,
    "h": 129.3
  },
  "luminance": 0.3506
}

Semantic roles & 50–950 ramp

primary
#7BAF2D
secondary
#9473C5
accent
#46E284
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BAF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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