#7BAF30#7BAF30

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

Color values

HEX#7BAF30
RGBrgb(123, 175, 48)
HSLhsl(85, 57%, 44%)
HSVhsv(85, 73%, 69%)
CMYKcmyk(29.7%, 0%, 72.6%, 31.4%)
CIE-LABlab(65.81, -36.48, 56.25)
CIE-LCHlch(65.81, 67.04, 122.96°)
OKLaboklab(69.3% -0.1038 0.1262)
OKLCHoklch(69.3% 0.163 129.5)
XYZxyz(24.0318, 35.0836, 8.3014)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAF30 #6430AF
analogous
#AFA330 #7BAF30 #3BAF30
triadic
#7BAF30 #307BAF #AF307B
tetradic
#7BAF30 #30AFA3 #6430AF #AF303B
square
#7BAF30 #30AFA3 #6430AF #AF303B
split-complementary
#7BAF30 #303BAF #A330AF
monochromatic
#374F16 #597F23 #7BAF30 #9ACE4E #B5DC7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BAF30#FFFFFF#000000##000000
##7BAF301.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)
#B7A219
Deuteranopia (green-blind)
#B09F3C
Tritanopia (blue-blind)
#7FA796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7baf30;
/* rgb */ color: rgb(123, 175, 48);
/* oklch */ color: oklch(69.3% 0.163 129.5);
Tailwind
colors: {
  custom: {
    50: '#a5c771',
    500: '#7baf30',
    950: '#000000',
  },
}
SCSS
$custom: #7baf30;
$custom-light: #a5c771;
$custom-dark: #000000;
JSON
{
  "hex": "#7baf30",
  "rgb": {
    "r": 123,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 84.567,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69296,
    "c": 0.16338,
    "h": 129.5
  },
  "luminance": 0.35084
}

Semantic roles & 50–950 ramp

primary
#7BAF30
secondary
#9676C4
accent
#48E086
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BAF30

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

Preview Lab → · Contrast checker → · Palette generator →

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