#7CB431#7CB431

#7CB431 is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.6% C 0.169 H 130.2°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7CB431
RGBrgb(124, 180, 49)
HSLhsl(86, 57%, 45%)
HSVhsv(86, 73%, 71%)
CMYKcmyk(31.1%, 0%, 72.8%, 29.4%)
CIE-LABlab(67.39, -38.27, 57.47)
CIE-LCHlch(67.39, 69.05, 123.66°)
OKLaboklab(70.59% -0.1087 0.1288)
OKLCHoklch(70.59% 0.169 130.2)
XYZxyz(25.1877, 37.1486, 8.7485)
Luminance0.3715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB431 #6931B4
analogous
#B4AB31 #7CB431 #3AB431
triadic
#7CB431 #317CB4 #B4317C
tetradic
#7CB431 #31B4AB #6931B4 #B4313A
square
#7CB431 #31B4AB #6931B4 #B4313A
split-complementary
#7CB431 #313AB4 #AB31B4
monochromatic
#3A5417 #5B8424 #7CB431 #9AD052 #B6DD82

Accessibility & contrast

On white

2.49
#7CB431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#7CB431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB431
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB431#FFFFFF#000000##000000
##7CB4311.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA719
Deuteranopia (green-blind)
#B5A33D
Tritanopia (blue-blind)
#7FAC9B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7cb431;
/* rgb */ color: rgb(124, 180, 49);
/* oklch */ color: oklch(70.6% 0.169 130.2);
Tailwind
colors: {
  custom: {
    50: '#a6cb72',
    500: '#7cb431',
    950: '#000000',
  },
}
SCSS
$custom: #7cb431;
$custom-light: #a6cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb431",
  "rgb": {
    "r": 124,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 85.649,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70594,
    "c": 0.16856,
    "h": 130.2
  },
  "luminance": 0.37149
}

Semantic roles & 50–950 ramp

primary
#7CB431
secondary
#9B7BC6
accent
#47E089
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB431

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

Preview Lab → · Contrast checker → · Palette generator →

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