#7CA231#7CA231

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

Color values

HEX#7CA231
RGBrgb(124, 162, 49)
HSLhsl(80, 54%, 41%)
HSVhsv(80, 70%, 64%)
CMYKcmyk(23.5%, 0%, 69.8%, 36.5%)
CIE-LABlab(61.95, -30.00, 52.00)
CIE-LCHlch(61.95, 60.03, 119.98°)
OKLaboklab(66.18% -0.0861 0.1174)
OKLCHoklch(66.18% 0.146 126.3)
XYZxyz(21.7870, 30.3472, 7.6149)
Luminance0.3035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA231 #5731A2
analogous
#A29031 #7CA231 #44A231
triadic
#7CA231 #317CA2 #A2317C
tetradic
#7CA231 #31A290 #5731A2 #A23144
square
#7CA231 #31A290 #5731A2 #A23144
split-complementary
#7CA231 #3144A2 #9031A2
monochromatic
#344415 #587323 #7CA231 #9DC848 #B6D677

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CA231#FFFFFF#000000##000000
##7CA2311.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)
#AB9720
Deuteranopia (green-blind)
#A5953A
Tritanopia (blue-blind)
#819A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ca231;
/* rgb */ color: rgb(124, 162, 49);
/* oklch */ color: oklch(66.2% 0.146 126.3);
Tailwind
colors: {
  custom: {
    50: '#a5bd70',
    500: '#7ca231',
    950: '#000000',
  },
}
SCSS
$custom: #7ca231;
$custom-light: #a5bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca231",
  "rgb": {
    "r": 124,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 80.177,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6618,
    "c": 0.14556,
    "h": 126.3
  },
  "luminance": 0.30347
}

Semantic roles & 50–950 ramp

primary
#7CA231
secondary
#8B71BE
accent
#4BDD7C
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA231

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

Preview Lab → · Contrast checker → · Palette generator →

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