#7CB231#7CB231

#7CB231 is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.1% C 0.166 H 129.8°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7CB231
RGBrgb(124, 178, 49)
HSLhsl(85, 57%, 45%)
HSVhsv(85, 72%, 70%)
CMYKcmyk(30.3%, 0%, 72.5%, 30.2%)
CIE-LABlab(66.78, -37.38, 56.87)
CIE-LCHlch(66.78, 68.06, 123.32°)
OKLaboklab(70.1% -0.1063 0.1276)
OKLCHoklch(70.1% 0.166 129.8)
XYZxyz(24.7868, 36.3469, 8.6148)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB231 #6731B2
analogous
#B2A731 #7CB231 #3CB231
triadic
#7CB231 #317CB2 #B2317C
tetradic
#7CB231 #31B2A7 #6731B2 #B2313C
square
#7CB231 #31B2A7 #6731B2 #B2313C
split-complementary
#7CB231 #313CB2 #A731B2
monochromatic
#395217 #5B8224 #7CB231 #9ACF51 #B6DC81

Accessibility & contrast

On white

2.54
#7CB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#7CB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB231
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB231#FFFFFF#000000##000000
##7CB2311.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51A
Deuteranopia (green-blind)
#B3A13D
Tritanopia (blue-blind)
#7FAA99
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7cb231;
/* rgb */ color: rgb(124, 178, 49);
/* oklch */ color: oklch(70.1% 0.166 129.8);
Tailwind
colors: {
  custom: {
    50: '#a6c972',
    500: '#7cb231',
    950: '#000000',
  },
}
SCSS
$custom: #7cb231;
$custom-light: #a6c972;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb231",
  "rgb": {
    "r": 124,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 85.116,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70102,
    "c": 0.16605,
    "h": 129.8
  },
  "luminance": 0.36348
}

Semantic roles & 50–950 ramp

primary
#7CB231
secondary
#9979C5
accent
#48E087
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB231

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

Preview Lab → · Contrast checker → · Palette generator →

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