#7CA628#7CA628

#7CA628 is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 67.1% C 0.156 H 126.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7CA628
RGBrgb(124, 166, 40)
HSLhsl(80, 61%, 40%)
HSVhsv(80, 76%, 65%)
CMYKcmyk(25.3%, 0%, 75.9%, 34.9%)
CIE-LABlab(63.10, -32.43, 56.45)
CIE-LCHlch(63.10, 65.10, 119.88°)
OKLaboklab(67.09% -0.0935 0.1253)
OKLCHoklch(67.09% 0.156 126.7)
XYZxyz(22.3315, 31.7103, 6.9512)
Luminance0.3171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA628 #5228A6
analogous
#A69128 #7CA628 #3DA628
triadic
#7CA628 #287CA6 #A6287C
tetradic
#7CA628 #28A691 #5228A6 #A6283D
square
#7CA628 #28A691 #5228A6 #A6283D
split-complementary
#7CA628 #283DA6 #9128A6
monochromatic
#324310 #57751C #7CA628 #9ED03B #B7DC6D

Accessibility & contrast

On white

2.86
#7CA628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#7CA628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA628
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA628#FFFFFF#000000##000000
##7CA6281.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A0B
Deuteranopia (green-blind)
#A99834
Tritanopia (blue-blind)
#819E8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ca628;
/* rgb */ color: rgb(124, 166, 40);
/* oklch */ color: oklch(67.1% 0.156 126.7);
Tailwind
colors: {
  custom: {
    50: '#a6c06c',
    500: '#7ca628',
    950: '#000000',
  },
}
SCSS
$custom: #7ca628;
$custom-light: #a6c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca628",
  "rgb": {
    "r": 124,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 80,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67094,
    "c": 0.15632,
    "h": 126.7
  },
  "luminance": 0.31711
}

Semantic roles & 50–950 ramp

primary
#7CA628
secondary
#8667C2
accent
#44E479
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA628

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

Preview Lab → · Contrast checker → · Palette generator →

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