#7BA021#7BA021

#7BA021 is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.5% C 0.153 H 125.2°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7BA021
RGBrgb(123, 160, 33)
HSLhsl(77, 66%, 38%)
HSVhsv(77, 79%, 63%)
CMYKcmyk(23.1%, 0%, 79.4%, 37.3%)
CIE-LABlab(61.19, -30.37, 56.90)
CIE-LCHlch(61.19, 64.49, 118.09°)
OKLaboklab(65.51% -0.0883 0.1251)
OKLCHoklch(65.51% 0.153 125.2)
XYZxyz(21.0139, 29.4621, 6.0182)
Luminance0.2946 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA021 #4621A0
analogous
#A08521 #7BA021 #3CA021
triadic
#7BA021 #217BA0 #A0217B
tetradic
#7BA021 #21A085 #4621A0 #A0213C
square
#7BA021 #21A085 #4621A0 #A0213C
split-complementary
#7BA021 #213CA0 #8521A0
monochromatic
#2D3B0C #546D17 #7BA021 #A2D32B #B8DE5E

Accessibility & contrast

On white

3.05
#7BA021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#7BA021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA021
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA021#FFFFFF#000000##000000
##7BA0211.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A4932E
Tritanopia (blue-blind)
#819889
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ba021;
/* rgb */ color: rgb(123, 160, 33);
/* oklch */ color: oklch(65.5% 0.153 125.2);
Tailwind
colors: {
  custom: {
    50: '#a5bc68',
    500: '#7ba021',
    950: '#000000',
  },
}
SCSS
$custom: #7ba021;
$custom-light: #a5bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba021",
  "rgb": {
    "r": 123,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 77.48,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65512,
    "c": 0.15314,
    "h": 125.2
  },
  "luminance": 0.29462
}

Semantic roles & 50–950 ramp

primary
#7BA021
secondary
#795BC2
accent
#3FE970
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA021

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

Preview Lab → · Contrast checker → · Palette generator →

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