#7CB338#7CB338

#7CB338 is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.4% C 0.163 H 130.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7CB338
RGBrgb(124, 179, 56)
HSLhsl(87, 52%, 46%)
HSVhsv(87, 69%, 70%)
CMYKcmyk(30.7%, 0%, 68.7%, 29.8%)
CIE-LABlab(67.13, -37.36, 54.56)
CIE-LCHlch(67.13, 66.13, 124.40°)
OKLaboklab(70.4% -0.1056 0.1238)
OKLCHoklch(70.4% 0.163 130.5)
XYZxyz(25.1459, 36.8100, 9.5208)
Luminance0.3681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB338 #6F38B3
analogous
#B3AC38 #7CB338 #3FB338
triadic
#7CB338 #387CB3 #B3387C
tetradic
#7CB338 #38B3AC #6F38B3 #B3383F
square
#7CB338 #38B3AC #6F38B3 #B3383F
split-complementary
#7CB338 #383FB3 #AC38B3
monochromatic
#3B561B #5C8429 #7CB338 #9ACC5C #B7DB8B

Accessibility & contrast

On white

2.51
#7CB338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#7CB338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB338
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB338#FFFFFF#000000##000000
##7CB3381.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA626
Deuteranopia (green-blind)
#B3A242
Tritanopia (blue-blind)
#7FAB9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7cb338;
/* rgb */ color: rgb(124, 179, 56);
/* oklch */ color: oklch(70.4% 0.163 130.5);
Tailwind
colors: {
  custom: {
    50: '#a6ca75',
    500: '#7cb338',
    950: '#000000',
  },
}
SCSS
$custom: #7cb338;
$custom-light: #a6ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb338",
  "rgb": {
    "r": 124,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 86.829,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70403,
    "c": 0.16272,
    "h": 130.5
  },
  "luminance": 0.36811
}

Semantic roles & 50–950 ramp

primary
#7CB338
secondary
#A082C5
accent
#4CDC8C
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7CB338

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

Preview Lab → · Contrast checker → · Palette generator →

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