#7BA825#7BA825

#7BA825 is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.5% C 0.161 H 127.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7BA825
RGBrgb(123, 168, 37)
HSLhsl(81, 64%, 40%)
HSVhsv(81, 78%, 66%)
CMYKcmyk(26.8%, 0%, 78%, 34.1%)
CIE-LABlab(63.63, -33.91, 57.91)
CIE-LCHlch(63.63, 67.11, 120.35°)
OKLaboklab(67.5% -0.0977 0.1279)
OKLCHoklch(67.5% 0.161 127.4)
XYZxyz(22.5050, 32.3493, 6.8083)
Luminance0.3235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA825 #5225A8
analogous
#A89425 #7BA825 #39A825
triadic
#7BA825 #257BA8 #A8257B
tetradic
#7BA825 #25A894 #5225A8 #A82539
square
#7BA825 #25A894 #5225A8 #A82539
split-complementary
#7BA825 #2539A8 #9425A8
monochromatic
#32440F #56761A #7BA825 #9DD337 #B6DE69

Accessibility & contrast

On white

2.81
#7BA825 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#7BA825 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA825
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA825#FFFFFF#000000##000000
##7BA8251.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AB9932
Tritanopia (blue-blind)
#80A090
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ba825;
/* rgb */ color: rgb(123, 168, 37);
/* oklch */ color: oklch(67.5% 0.161 127.4);
Tailwind
colors: {
  custom: {
    50: '#a5c26b',
    500: '#7ba825',
    950: '#000000',
  },
}
SCSS
$custom: #7ba825;
$custom-light: #a5c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba825",
  "rgb": {
    "r": 123,
    "g": 168,
    "b": 37
  },
  "hsl": {
    "h": 80.611,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67501,
    "c": 0.16093,
    "h": 127.4
  },
  "luminance": 0.3235
}

Semantic roles & 50–950 ramp

primary
#7BA825
secondary
#8565C4
accent
#41E77A
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA825

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

Preview Lab → · Contrast checker → · Palette generator →

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