#7BA431#7BA431

#7BA431 is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.6% C 0.149 H 127.1°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7BA431
RGBrgb(123, 164, 49)
HSLhsl(81, 54%, 42%)
HSVhsv(81, 70%, 64%)
CMYKcmyk(25%, 0%, 70.1%, 35.7%)
CIE-LABlab(62.49, -31.35, 52.53)
CIE-LCHlch(62.49, 61.17, 120.83°)
OKLaboklab(66.6% -0.0897 0.1185)
OKLCHoklch(66.6% 0.149 127.1)
XYZxyz(21.9983, 30.9832, 7.7265)
Luminance0.3098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA431 #5A31A4
analogous
#A49431 #7BA431 #42A431
triadic
#7BA431 #317BA4 #A4317B
tetradic
#7BA431 #31A494 #5A31A4 #A43142
square
#7BA431 #31A494 #5A31A4 #A43142
split-complementary
#7BA431 #3142A4 #9431A4
monochromatic
#344615 #587523 #7BA431 #9BC949 #B5D779

Accessibility & contrast

On white

2.92
#7BA431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#7BA431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA431
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA431#FFFFFF#000000##000000
##7BA4311.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC991F
Deuteranopia (green-blind)
#A7963B
Tritanopia (blue-blind)
#809C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ba431;
/* rgb */ color: rgb(123, 164, 49);
/* oklch */ color: oklch(66.6% 0.149 127.1);
Tailwind
colors: {
  custom: {
    50: '#a5bf70',
    500: '#7ba431',
    950: '#000000',
  },
}
SCSS
$custom: #7ba431;
$custom-light: #a5bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba431",
  "rgb": {
    "r": 123,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 81.391,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66602,
    "c": 0.14864,
    "h": 127.1
  },
  "luminance": 0.30984
}

Semantic roles & 50–950 ramp

primary
#7BA431
secondary
#8D72BF
accent
#4ADD7F
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BA431

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

Preview Lab → · Contrast checker → · Palette generator →

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