#7CB223#7CB223

#7CB223 is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.0% C 0.174 H 129.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7CB223
RGBrgb(124, 178, 35)
HSLhsl(83, 67%, 42%)
HSVhsv(83, 80%, 70%)
CMYKcmyk(30.3%, 0%, 80.3%, 30.2%)
CIE-LABlab(66.71, -38.13, 61.38)
CIE-LCHlch(66.71, 72.26, 121.85°)
OKLaboklab(70.02% -0.1093 0.1349)
OKLCHoklch(70.02% 0.174 129)
XYZxyz(24.5359, 36.2465, 7.2933)
Luminance0.3625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB223 #5923B2
analogous
#B2A123 #7CB223 #35B223
triadic
#7CB223 #237CB2 #B2237C
tetradic
#7CB223 #23B2A1 #5923B2 #B22335
square
#7CB223 #23B2A1 #5923B2 #B22335
split-complementary
#7CB223 #2335B2 #A123B2
monochromatic
#354C0F #587F19 #7CB223 #9CD83A #B6E26D

Accessibility & contrast

On white

2.55
#7CB223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#7CB223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB223
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB223#FFFFFF#000000##000000
##7CB2231.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#80AA98
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7cb223;
/* rgb */ color: rgb(124, 178, 35);
/* oklch */ color: oklch(70.0% 0.174 129.0);
Tailwind
colors: {
  custom: {
    50: '#a7c96b',
    500: '#7cb223',
    950: '#000000',
  },
}
SCSS
$custom: #7cb223;
$custom-light: #a7c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb223",
  "rgb": {
    "r": 124,
    "g": 178,
    "b": 35
  },
  "hsl": {
    "h": 82.657,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70016,
    "c": 0.17361,
    "h": 129
  },
  "luminance": 0.36247
}

Semantic roles & 50–950 ramp

primary
#7CB223
secondary
#8D68C9
accent
#3EEA7F
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7CB223

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

Preview Lab → · Contrast checker → · Palette generator →

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