#7BAF38#7BAF38

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

Color values

HEX#7BAF38
RGBrgb(123, 175, 56)
HSLhsl(86, 52%, 45%)
HSVhsv(86, 68%, 69%)
CMYKcmyk(29.7%, 0%, 68%, 31.4%)
CIE-LABlab(65.87, -35.93, 53.23)
CIE-LCHlch(65.87, 64.22, 124.02°)
OKLaboklab(69.36% -0.1017 0.121)
OKLCHoklch(69.36% 0.158 130)
XYZxyz(24.2120, 35.1557, 9.2507)
Luminance0.3516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAF38 #6C38AF
analogous
#AFA738 #7BAF38 #40AF38
triadic
#7BAF38 #387BAF #AF387B
tetradic
#7BAF38 #38AFA7 #6C38AF #AF3840
square
#7BAF38 #38AFA7 #6C38AF #AF3840
split-complementary
#7BAF38 #3840AF #A738AF
monochromatic
#3A521A #5A8129 #7BAF38 #99CA5A #B6D988

Accessibility & contrast

On white

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

On black

8.03
#7BAF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAF38
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAF38#FFFFFF#000000##000000
##7BAF381.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7baf38;
/* rgb */ color: rgb(123, 175, 56);
/* oklch */ color: oklch(69.4% 0.158 130.0);
Tailwind
colors: {
  custom: {
    50: '#a5c775',
    500: '#7baf38',
    950: '#000000',
  },
}
SCSS
$custom: #7baf38;
$custom-light: #a5c775;
$custom-dark: #000000;
JSON
{
  "hex": "#7baf38",
  "rgb": {
    "r": 123,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 86.218,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69359,
    "c": 0.15803,
    "h": 130
  },
  "luminance": 0.35156
}

Semantic roles & 50–950 ramp

primary
#7BAF38
secondary
#9D80C3
accent
#4DDB8B
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7BAF38

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

Preview Lab → · Contrast checker → · Palette generator →

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