#7BA81D#7BA81D

#7BA81D is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.5% C 0.165 H 127.0°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7BA81D
RGBrgb(123, 168, 29)
HSLhsl(79, 71%, 39%)
HSVhsv(79, 83%, 66%)
CMYKcmyk(26.8%, 0%, 82.7%, 34.1%)
CIE-LABlab(63.59, -34.26, 60.21)
CIE-LCHlch(63.59, 69.28, 119.64°)
OKLaboklab(67.46% -0.0992 0.1315)
OKLCHoklch(67.46% 0.165 127)
XYZxyz(22.3929, 32.3045, 6.2178)
Luminance0.3231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA81D #4A1DA8
analogous
#A88F1D #7BA81D #36A81D
triadic
#7BA81D #1D7BA8 #A81D7B
tetradic
#7BA81D #1DA88F #4A1DA8 #A81D36
square
#7BA81D #1DA88F #4A1DA8 #A81D36
split-complementary
#7BA81D #1D36A8 #8F1DA8
monochromatic
#2F400B #557414 #7BA81D #A0DA28 #B7E35C

Accessibility & contrast

On white

2.81
#7BA81D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#7BA81D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA81D
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA81D#FFFFFF#000000##000000
##7BA81D1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AB992D
Tritanopia (blue-blind)
#80A08F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ba81d;
/* rgb */ color: rgb(123, 168, 29);
/* oklch */ color: oklch(67.5% 0.165 127.0);
Tailwind
colors: {
  custom: {
    50: '#a6c267',
    500: '#7ba81d',
    950: '#000000',
  },
}
SCSS
$custom: #7ba81d;
$custom-light: #a6c267;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba81d",
  "rgb": {
    "r": 123,
    "g": 168,
    "b": 29
  },
  "hsl": {
    "h": 79.424,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67459,
    "c": 0.16469,
    "h": 127
  },
  "luminance": 0.32305
}

Semantic roles & 50–950 ramp

primary
#7BA81D
secondary
#7D5AC7
accent
#3AED74
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA81D

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

Preview Lab → · Contrast checker → · Palette generator →

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