#7BAF3C#7BAF3C

#7BAF3C is a light, vivid yellow-green. Relative luminance 0.352; OKLCH L 69.4% C 0.155 H 130.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7BAF3C
RGBrgb(123, 175, 60)
HSLhsl(87, 49%, 46%)
HSVhsv(87, 66%, 69%)
CMYKcmyk(29.7%, 0%, 65.7%, 31.4%)
CIE-LABlab(65.90, -35.62, 51.62)
CIE-LCHlch(65.90, 62.72, 124.61°)
OKLaboklab(69.4% -0.1005 0.1181)
OKLCHoklch(69.4% 0.155 130.4)
XYZxyz(24.3138, 35.1964, 9.7867)
Luminance0.3520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAF3C #703CAF
analogous
#AFA93C #7BAF3C #42AF3C
triadic
#7BAF3C #3C7BAF #AF3C7B
tetradic
#7BAF3C #3CAFA9 #703CAF #AF3C42
square
#7BAF3C #3CAFA9 #703CAF #AF3C42
split-complementary
#7BAF3C #3C42AF #A93CAF
monochromatic
#3B541D #5B812C #7BAF3C #99C860 #B6D88D

Accessibility & contrast

On white

2.61
#7BAF3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#7BAF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAF3C
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAF3C#FFFFFF#000000##000000
##7BAF3C1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32D
Deuteranopia (green-blind)
#AF9F45
Tritanopia (blue-blind)
#7EA897
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7baf3c;
/* rgb */ color: rgb(123, 175, 60);
/* oklch */ color: oklch(69.4% 0.155 130.4);
Tailwind
colors: {
  custom: {
    50: '#a5c777',
    500: '#7baf3c',
    950: '#000000',
  },
}
SCSS
$custom: #7baf3c;
$custom-light: #a5c777;
$custom-dark: #000000;
JSON
{
  "hex": "#7baf3c",
  "rgb": {
    "r": 123,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 87.13,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69395,
    "c": 0.1551,
    "h": 130.4
  },
  "luminance": 0.35197
}

Semantic roles & 50–950 ramp

primary
#7BAF3C
secondary
#A084C3
accent
#4FD88D
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7BAF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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