#7BA229#7BA229

#7BA229 is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 66.1% C 0.151 H 126.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7BA229
RGBrgb(123, 162, 41)
HSLhsl(79, 60%, 40%)
HSVhsv(79, 75%, 64%)
CMYKcmyk(24.1%, 0%, 74.7%, 36.5%)
CIE-LABlab(61.84, -30.90, 54.86)
CIE-LCHlch(61.84, 62.97, 119.39°)
OKLaboklab(66.05% -0.0892 0.1221)
OKLCHoklch(66.05% 0.151 126.1)
XYZxyz(21.4891, 30.2114, 6.7966)
Luminance0.3021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA229 #5029A2
analogous
#A28D29 #7BA229 #3EA229
triadic
#7BA229 #297BA2 #A2297B
tetradic
#7BA229 #29A28D #5029A2 #A2293E
square
#7BA229 #29A28D #5029A2 #A2293E
split-complementary
#7BA229 #293EA2 #8D29A2
monochromatic
#314010 #56711D #7BA229 #9ECD3B #B6DA6C

Accessibility & contrast

On white

2.98
#7BA229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#7BA229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA229
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA229#FFFFFF#000000##000000
##7BA2291.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9710
Deuteranopia (green-blind)
#A59534
Tritanopia (blue-blind)
#809A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ba229;
/* rgb */ color: rgb(123, 162, 41);
/* oklch */ color: oklch(66.1% 0.151 126.1);
Tailwind
colors: {
  custom: {
    50: '#a5bd6c',
    500: '#7ba229',
    950: '#000000',
  },
}
SCSS
$custom: #7ba229;
$custom-light: #a5bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba229",
  "rgb": {
    "r": 123,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 79.339,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66052,
    "c": 0.15123,
    "h": 126.1
  },
  "luminance": 0.30212
}

Semantic roles & 50–950 ramp

primary
#7BA229
secondary
#8367C0
accent
#45E378
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA229

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

Preview Lab → · Contrast checker → · Palette generator →

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