#7BA231#7BA231

#7BA231 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.1% C 0.146 H 126.6°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7BA231
RGBrgb(123, 162, 49)
HSLhsl(81, 54%, 41%)
HSVhsv(81, 70%, 64%)
CMYKcmyk(24.1%, 0%, 69.8%, 36.5%)
CIE-LABlab(61.89, -30.40, 51.92)
CIE-LCHlch(61.89, 60.16, 120.35°)
OKLaboklab(66.11% -0.0871 0.1172)
OKLCHoklch(66.11% 0.146 126.6)
XYZxyz(21.6431, 30.2730, 7.6081)
Luminance0.3027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA231 #5831A2
analogous
#A29131 #7BA231 #43A231
triadic
#7BA231 #317BA2 #A2317B
tetradic
#7BA231 #31A291 #5831A2 #A23143
square
#7BA231 #31A291 #5831A2 #A23143
split-complementary
#7BA231 #3143A2 #9131A2
monochromatic
#344415 #577323 #7BA231 #9CC848 #B5D677

Accessibility & contrast

On white

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

On black

7.05
#7BA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA231
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA231#FFFFFF#000000##000000
##7BA2311.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ba231;
/* rgb */ color: rgb(123, 162, 49);
/* oklch */ color: oklch(66.1% 0.146 126.6);
Tailwind
colors: {
  custom: {
    50: '#a4bd70',
    500: '#7ba231',
    950: '#000000',
  },
}
SCSS
$custom: #7ba231;
$custom-light: #a4bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba231",
  "rgb": {
    "r": 123,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 80.708,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66112,
    "c": 0.14605,
    "h": 126.6
  },
  "luminance": 0.30273
}

Semantic roles & 50–950 ramp

primary
#7BA231
secondary
#8B71BE
accent
#4BDD7D
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BA231

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

Preview Lab → · Contrast checker → · Palette generator →

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