#7BA427#7BA427

#7BA427 is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.5% C 0.155 H 126.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7BA427
RGBrgb(123, 164, 39)
HSLhsl(80, 62%, 40%)
HSVhsv(80, 76%, 64%)
CMYKcmyk(25%, 0%, 76.2%, 35.7%)
CIE-LABlab(62.43, -31.95, 56.12)
CIE-LCHlch(62.43, 64.58, 119.65°)
OKLaboklab(66.53% -0.0922 0.1245)
OKLCHoklch(66.53% 0.155 126.5)
XYZxyz(21.8101, 30.9080, 6.7358)
Luminance0.3091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA427 #5027A4
analogous
#A48F27 #7BA427 #3DA427
triadic
#7BA427 #277BA4 #A4277B
tetradic
#7BA427 #27A48F #5027A4 #A4273D
square
#7BA427 #27A48F #5027A4 #A4273D
split-complementary
#7BA427 #273DA4 #8F27A4
monochromatic
#31410F #56731B #7BA427 #9ED038 #B6DC6A

Accessibility & contrast

On white

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

On black

7.18
#7BA427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA427
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA427#FFFFFF#000000##000000
##7BA4271.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9909
Deuteranopia (green-blind)
#A79633
Tritanopia (blue-blind)
#809C8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ba427;
/* rgb */ color: rgb(123, 164, 39);
/* oklch */ color: oklch(66.5% 0.155 126.5);
Tailwind
colors: {
  custom: {
    50: '#a5bf6b',
    500: '#7ba427',
    950: '#000000',
  },
}
SCSS
$custom: #7ba427;
$custom-light: #a5bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba427",
  "rgb": {
    "r": 123,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 79.68,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6653,
    "c": 0.1549,
    "h": 126.5
  },
  "luminance": 0.30908
}

Semantic roles & 50–950 ramp

primary
#7BA427
secondary
#8365C2
accent
#43E578
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA427

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

Preview Lab → · Contrast checker → · Palette generator →

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