#7CB123#7CB123

#7CB123 is a light, vivid yellow-green. Relative luminance 0.359; OKLCH L 69.8% C 0.172 H 128.8°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7CB123
RGBrgb(124, 177, 35)
HSLhsl(82, 67%, 42%)
HSVhsv(82, 80%, 69%)
CMYKcmyk(29.9%, 0%, 80.2%, 30.6%)
CIE-LABlab(66.41, -37.69, 61.10)
CIE-LCHlch(66.41, 71.79, 121.67°)
OKLaboklab(69.77% -0.1081 0.1343)
OKLCHoklch(69.77% 0.172 128.8)
XYZxyz(24.3377, 35.8500, 7.2273)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB123 #5823B1
analogous
#B19F23 #7CB123 #35B123
triadic
#7CB123 #237CB1 #B1237C
tetradic
#7CB123 #23B19F #5823B1 #B12335
square
#7CB123 #23B19F #5823B1 #B12335
split-complementary
#7CB123 #2335B1 #9F23B1
monochromatic
#344B0F #587E19 #7CB123 #9DD839 #B6E26C

Accessibility & contrast

On white

2.57
#7CB123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#7CB123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB123
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB123#FFFFFF#000000##000000
##7CB1231.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B3A033
Tritanopia (blue-blind)
#80A997
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7cb123;
/* rgb */ color: rgb(124, 177, 35);
/* oklch */ color: oklch(69.8% 0.172 128.8);
Tailwind
colors: {
  custom: {
    50: '#a7c86b',
    500: '#7cb123',
    950: '#000000',
  },
}
SCSS
$custom: #7cb123;
$custom-light: #a7c86b;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb123",
  "rgb": {
    "r": 124,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 82.394,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6977,
    "c": 0.1724,
    "h": 128.8
  },
  "luminance": 0.35851
}

Semantic roles & 50–950 ramp

primary
#7CB123
secondary
#8C68C8
accent
#3EEA7E
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7CB123

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

Preview Lab → · Contrast checker → · Palette generator →

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