#7CA234#7CA234

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

Color values

HEX#7CA234
RGBrgb(124, 162, 52)
HSLhsl(81, 51%, 42%)
HSVhsv(81, 68%, 64%)
CMYKcmyk(23.5%, 0%, 67.9%, 36.5%)
CIE-LABlab(61.98, -29.79, 50.81)
CIE-LCHlch(61.98, 58.90, 120.38°)
OKLaboklab(66.21% -0.0853 0.1153)
OKLCHoklch(66.21% 0.143 126.5)
XYZxyz(21.8524, 30.3733, 7.9595)
Luminance0.3037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA234 #5A34A2
analogous
#A29134 #7CA234 #45A234
triadic
#7CA234 #347CA2 #A2347C
tetradic
#7CA234 #34A291 #5A34A2 #A23445
square
#7CA234 #34A291 #5A34A2 #A23445
split-complementary
#7CA234 #3445A2 #9134A2
monochromatic
#354516 #597425 #7CA234 #9CC64D #B6D57C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CA234#FFFFFF#000000##000000
##7CA2341.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)
#AA9724
Deuteranopia (green-blind)
#A5953D
Tritanopia (blue-blind)
#819B8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ca234;
/* rgb */ color: rgb(124, 162, 52);
/* oklch */ color: oklch(66.2% 0.143 126.5);
Tailwind
colors: {
  custom: {
    50: '#a5bd72',
    500: '#7ca234',
    950: '#000000',
  },
}
SCSS
$custom: #7ca234;
$custom-light: #a5bd72;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca234",
  "rgb": {
    "r": 124,
    "g": 162,
    "b": 52
  },
  "hsl": {
    "h": 80.727,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66205,
    "c": 0.14341,
    "h": 126.5
  },
  "luminance": 0.30374
}

Semantic roles & 50–950 ramp

primary
#7CA234
secondary
#8E74BE
accent
#4DDB7E
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA234

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

Preview Lab → · Contrast checker → · Palette generator →

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