#7BA527#7BA527

#7BA527 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.8% C 0.156 H 126.8°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7BA527
RGBrgb(123, 165, 39)
HSLhsl(80, 62%, 40%)
HSVhsv(80, 76%, 65%)
CMYKcmyk(25.5%, 0%, 76.4%, 35.3%)
CIE-LABlab(62.73, -32.42, 56.41)
CIE-LCHlch(62.73, 65.06, 119.88°)
OKLaboklab(66.77% -0.0935 0.1251)
OKLCHoklch(66.77% 0.156 126.8)
XYZxyz(21.9898, 31.2673, 6.7957)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA527 #5127A5
analogous
#A59027 #7BA527 #3CA527
triadic
#7BA527 #277BA5 #A5277B
tetradic
#7BA527 #27A590 #5127A5 #A5273C
square
#7BA527 #27A590 #5127A5 #A5273C
split-complementary
#7BA527 #273CA5 #9027A5
monochromatic
#314210 #56741B #7BA527 #9ED039 #B6DC6A

Accessibility & contrast

On white

2.90
#7BA527 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#7BA527 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA527
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA527#FFFFFF#000000##000000
##7BA5271.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9908
Deuteranopia (green-blind)
#A89733
Tritanopia (blue-blind)
#809D8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ba527;
/* rgb */ color: rgb(123, 165, 39);
/* oklch */ color: oklch(66.8% 0.156 126.8);
Tailwind
colors: {
  custom: {
    50: '#a5c06b',
    500: '#7ba527',
    950: '#000000',
  },
}
SCSS
$custom: #7ba527;
$custom-light: #a5c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba527",
  "rgb": {
    "r": 123,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 80,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.66775,
    "c": 0.15614,
    "h": 126.8
  },
  "luminance": 0.31268
}

Semantic roles & 50–950 ramp

primary
#7BA527
secondary
#8466C2
accent
#43E579
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA527

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

Preview Lab → · Contrast checker → · Palette generator →

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