#7BAF2F#7BAF2F

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

Color values

HEX#7BAF2F
RGBrgb(123, 175, 47)
HSLhsl(84, 58%, 44%)
HSVhsv(84, 73%, 69%)
CMYKcmyk(29.7%, 0%, 73.1%, 31.4%)
CIE-LABlab(65.81, -36.54, 56.61)
CIE-LCHlch(65.81, 67.38, 122.84°)
OKLaboklab(69.29% -0.1041 0.1267)
OKLCHoklch(69.29% 0.164 129.4)
XYZxyz(24.0114, 35.0755, 8.1939)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAF2F #632FAF
analogous
#AFA32F #7BAF2F #3BAF2F
triadic
#7BAF2F #2F7BAF #AF2F7B
tetradic
#7BAF2F #2FAFA3 #632FAF #AF2F3B
square
#7BAF2F #2FAFA3 #632FAF #AF2F3B
split-complementary
#7BAF2F #2F3BAF #A32FAF
monochromatic
#374F15 #597F22 #7BAF2F #9ACF4C #B5DC7C

Accessibility & contrast

On white

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

On black

8.02
#7BAF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAF2F
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAF2F#FFFFFF#000000##000000
##7BAF2F1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7baf2f;
/* rgb */ color: rgb(123, 175, 47);
/* oklch */ color: oklch(69.3% 0.164 129.4);
Tailwind
colors: {
  custom: {
    50: '#a5c770',
    500: '#7baf2f',
    950: '#000000',
  },
}
SCSS
$custom: #7baf2f;
$custom-light: #a5c770;
$custom-dark: #000000;
JSON
{
  "hex": "#7baf2f",
  "rgb": {
    "r": 123,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 84.375,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69289,
    "c": 0.164,
    "h": 129.4
  },
  "luminance": 0.35076
}

Semantic roles & 50–950 ramp

primary
#7BAF2F
secondary
#9575C4
accent
#47E185
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BAF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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