#7BAF34#7BAF34

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

Color values

HEX#7BAF34
RGBrgb(123, 175, 52)
HSLhsl(85, 54%, 45%)
HSVhsv(85, 70%, 69%)
CMYKcmyk(29.7%, 0%, 70.3%, 31.4%)
CIE-LABlab(65.84, -36.21, 54.78)
CIE-LCHlch(65.84, 65.67, 123.47°)
OKLaboklab(69.33% -0.1028 0.1237)
OKLCHoklch(69.33% 0.161 129.7)
XYZxyz(24.1181, 35.1181, 8.7559)
Luminance0.3512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAF34 #6834AF
analogous
#AFA634 #7BAF34 #3DAF34
triadic
#7BAF34 #347BAF #AF347B
tetradic
#7BAF34 #34AFA6 #6834AF #AF343D
square
#7BAF34 #34AFA6 #6834AF #AF343D
split-complementary
#7BAF34 #343DAF #A634AF
monochromatic
#395118 #5A8026 #7BAF34 #99CC54 #B5DA83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BAF34#FFFFFF#000000##000000
##7BAF341.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)
#B7A220
Deuteranopia (green-blind)
#B09F3F
Tritanopia (blue-blind)
#7EA797
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7baf34;
/* rgb */ color: rgb(123, 175, 52);
/* oklch */ color: oklch(69.3% 0.161 129.7);
Tailwind
colors: {
  custom: {
    50: '#a5c773',
    500: '#7baf34',
    950: '#000000',
  },
}
SCSS
$custom: #7baf34;
$custom-light: #a5c773;
$custom-dark: #000000;
JSON
{
  "hex": "#7baf34",
  "rgb": {
    "r": 123,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 85.366,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69326,
    "c": 0.1608,
    "h": 129.7
  },
  "luminance": 0.35119
}

Semantic roles & 50–950 ramp

primary
#7BAF34
secondary
#9A7BC4
accent
#4ADE89
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BAF34

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

Preview Lab → · Contrast checker → · Palette generator →

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