#7BAE31#7BAE31

#7BAE31 is a light, vivid yellow-green. Relative luminance 0.347; OKLCH L 69.1% C 0.161 H 129.3°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7BAE31
RGBrgb(123, 174, 49)
HSLhsl(84, 56%, 44%)
HSVhsv(84, 72%, 68%)
CMYKcmyk(29.3%, 0%, 71.8%, 31.8%)
CIE-LABlab(65.52, -35.96, 55.59)
CIE-LCHlch(65.52, 66.21, 122.90°)
OKLaboklab(69.06% -0.1023 0.1249)
OKLCHoklch(69.06% 0.161 129.3)
XYZxyz(23.8587, 34.7042, 8.3467)
Luminance0.3471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAE31 #6431AE
analogous
#AEA231 #7BAE31 #3CAE31
triadic
#7BAE31 #317BAE #AE317B
tetradic
#7BAE31 #31AEA2 #6431AE #AE313C
square
#7BAE31 #31AEA2 #6431AE #AE313C
split-complementary
#7BAE31 #313CAE #A231AE
monochromatic
#374E16 #597E24 #7BAE31 #9ACD4F #B5DB7F

Accessibility & contrast

On white

2.64
#7BAE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#7BAE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAE31
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAE31#FFFFFF#000000##000000
##7BAE311.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11B
Deuteranopia (green-blind)
#AF9E3C
Tritanopia (blue-blind)
#7FA696
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7bae31;
/* rgb */ color: rgb(123, 174, 49);
/* oklch */ color: oklch(69.1% 0.161 129.3);
Tailwind
colors: {
  custom: {
    50: '#a5c671',
    500: '#7bae31',
    950: '#000000',
  },
}
SCSS
$custom: #7bae31;
$custom-light: #a5c671;
$custom-dark: #000000;
JSON
{
  "hex": "#7bae31",
  "rgb": {
    "r": 123,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 84.48,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69057,
    "c": 0.16148,
    "h": 129.3
  },
  "luminance": 0.34705
}

Semantic roles & 50–950 ramp

primary
#7BAE31
secondary
#9677C4
accent
#48DF86
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BAE31

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

Preview Lab → · Contrast checker → · Palette generator →

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