#7CA230#7CA230

#7CA230 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.2% C 0.146 H 126.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7CA230
RGBrgb(124, 162, 48)
HSLhsl(80, 54%, 41%)
HSVhsv(80, 70%, 64%)
CMYKcmyk(23.5%, 0%, 70.4%, 36.5%)
CIE-LABlab(61.95, -30.07, 52.39)
CIE-LCHlch(61.95, 60.40, 119.85°)
OKLaboklab(66.17% -0.0864 0.118)
OKLCHoklch(66.17% 0.146 126.2)
XYZxyz(21.7661, 30.3388, 7.5050)
Luminance0.3034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA230 #5630A2
analogous
#A28F30 #7CA230 #43A230
triadic
#7CA230 #307CA2 #A2307C
tetradic
#7CA230 #30A28F #5630A2 #A23043
square
#7CA230 #30A28F #5630A2 #A23043
split-complementary
#7CA230 #3043A2 #8F30A2
monochromatic
#344414 #587322 #7CA230 #9DC847 #B6D676

Accessibility & contrast

On white

2.97
#7CA230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#7CA230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA230
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA230#FFFFFF#000000##000000
##7CA2301.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971E
Deuteranopia (green-blind)
#A5953A
Tritanopia (blue-blind)
#819A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ca230;
/* rgb */ color: rgb(124, 162, 48);
/* oklch */ color: oklch(66.2% 0.146 126.2);
Tailwind
colors: {
  custom: {
    50: '#a5bd6f',
    500: '#7ca230',
    950: '#000000',
  },
}
SCSS
$custom: #7ca230;
$custom-light: #a5bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca230",
  "rgb": {
    "r": 124,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 80,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66172,
    "c": 0.14625,
    "h": 126.2
  },
  "luminance": 0.30339
}

Semantic roles & 50–950 ramp

primary
#7CA230
secondary
#8A6FBE
accent
#4ADE7B
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA230

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

Preview Lab → · Contrast checker → · Palette generator →

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