#7BA523#7BA523

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

Color values

HEX#7BA523
RGBrgb(123, 165, 35)
HSLhsl(79, 65%, 39%)
HSVhsv(79, 79%, 65%)
CMYKcmyk(25.5%, 0%, 78.8%, 35.3%)
CIE-LABlab(62.71, -32.62, 57.69)
CIE-LCHlch(62.71, 66.27, 119.49°)
OKLaboklab(66.75% -0.0943 0.1271)
OKLCHoklch(66.75% 0.158 126.6)
XYZxyz(21.9270, 31.2422, 6.4649)
Luminance0.3124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA523 #4D23A5
analogous
#A58E23 #7BA523 #3AA523
triadic
#7BA523 #237BA5 #A5237B
tetradic
#7BA523 #23A58E #4D23A5 #A5233A
square
#7BA523 #23A58E #4D23A5 #A5233A
split-complementary
#7BA523 #233AA5 #8E23A5
monochromatic
#30400E #557318 #7BA523 #9FD332 #B7DE64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BA523#FFFFFF#000000##000000
##7BA5231.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)
#AE9900
Deuteranopia (green-blind)
#A89730
Tritanopia (blue-blind)
#809D8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ba523;
/* rgb */ color: rgb(123, 165, 35);
/* oklch */ color: oklch(66.8% 0.158 126.6);
Tailwind
colors: {
  custom: {
    50: '#a5c069',
    500: '#7ba523',
    950: '#000000',
  },
}
SCSS
$custom: #7ba523;
$custom-light: #a5c069;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba523",
  "rgb": {
    "r": 123,
    "g": 165,
    "b": 35
  },
  "hsl": {
    "h": 79.385,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66752,
    "c": 0.15827,
    "h": 126.6
  },
  "luminance": 0.31243
}

Semantic roles & 50–950 ramp

primary
#7BA523
secondary
#8060C4
accent
#40E876
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA523

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

Preview Lab → · Contrast checker → · Palette generator →

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