#7CA338#7CA338

#7CA338 is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.5% C 0.142 H 127.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7CA338
RGBrgb(124, 163, 56)
HSLhsl(82, 49%, 43%)
HSVhsv(82, 66%, 64%)
CMYKcmyk(23.9%, 0%, 65.6%, 36.1%)
CIE-LABlab(62.31, -29.97, 49.49)
CIE-LCHlch(62.31, 57.86, 121.20°)
OKLaboklab(66.49% -0.0854 0.1131)
OKLCHoklch(66.49% 0.142 127.1)
XYZxyz(22.1232, 30.7646, 8.5132)
Luminance0.3076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA338 #5F38A3
analogous
#A39438 #7CA338 #47A338
triadic
#7CA338 #387CA3 #A3387C
tetradic
#7CA338 #38A394 #5F38A3 #A33847
square
#7CA338 #38A394 #5F38A3 #A33847
split-complementary
#7CA338 #3847A3 #9438A3
monochromatic
#374819 #597528 #7CA338 #9BC454 #B6D482

Accessibility & contrast

On white

2.94
#7CA338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#7CA338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA338
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA338#FFFFFF#000000##000000
##7CA3381.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB982A
Deuteranopia (green-blind)
#A69640
Tritanopia (blue-blind)
#819C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ca338;
/* rgb */ color: rgb(124, 163, 56);
/* oklch */ color: oklch(66.5% 0.142 127.1);
Tailwind
colors: {
  custom: {
    50: '#a5be74',
    500: '#7ca338',
    950: '#000000',
  },
}
SCSS
$custom: #7ca338;
$custom-light: #a5be74;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca338",
  "rgb": {
    "r": 124,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 81.869,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66485,
    "c": 0.1417,
    "h": 127.1
  },
  "luminance": 0.30765
}

Semantic roles & 50–950 ramp

primary
#7CA338
secondary
#9279BD
accent
#4FD881
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA338

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

Preview Lab → · Contrast checker → · Palette generator →

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