#7CA256#7CA256

#7CA256 is a light, moderate yellow-green. Relative luminance 0.308; OKLCH L 66.6% C 0.112 H 130.7°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7CA256
RGBrgb(124, 162, 86)
HSLhsl(90, 31%, 49%)
HSVhsv(90, 47%, 64%)
CMYKcmyk(23.5%, 0%, 46.9%, 36.5%)
CIE-LABlab(62.34, -26.48, 35.24)
CIE-LCHlch(62.34, 44.07, 126.92°)
OKLaboklab(66.61% -0.0732 0.0851)
OKLCHoklch(66.61% 0.112 130.7)
XYZxyz(22.9119, 30.7971, 13.5396)
Luminance0.3080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA256 #7C56A2
analogous
#A2A256 #7CA256 #56A256
triadic
#7CA256 #567CA2 #A2567C
tetradic
#7CA256 #56A2A2 #7C56A2 #A25656
square
#7CA256 #56A2A2 #7C56A2 #A25656
split-complementary
#7CA256 #5656A2 #A256A2
monochromatic
#3F522C #5D7A41 #7CA256 #9BB97C #B9CFA4

Accessibility & contrast

On white

2.93
#7CA256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#7CA256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA256
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA256#FFFFFF#000000##000000
##7CA2561.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89950
Deuteranopia (green-blind)
#A3965A
Tritanopia (blue-blind)
#7E9C90
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ca256;
/* rgb */ color: rgb(124, 162, 86);
/* oklch */ color: oklch(66.6% 0.112 130.7);
Tailwind
colors: {
  custom: {
    50: '#a3bd87',
    500: '#7ca256',
    950: '#000000',
  },
}
SCSS
$custom: #7ca256;
$custom-light: #a3bd87;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca256",
  "rgb": {
    "r": 124,
    "g": 162,
    "b": 86
  },
  "hsl": {
    "h": 90,
    "s": 30.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.66613,
    "c": 0.11227,
    "h": 130.7
  },
  "luminance": 0.30798
}

Semantic roles & 50–950 ramp

primary
#7CA256
secondary
#AA98BC
accent
#61C794
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7CA256

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

Preview Lab → · Contrast checker → · Palette generator →

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