#A7CB42#A7CB42

#A7CB42 is a light, vivid yellow-green. Relative luminance 0.513; OKLCH L 79.0% C 0.166 H 123.0°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#A7CB42
RGBrgb(167, 203, 66)
HSLhsl(76, 57%, 53%)
HSVhsv(76, 67%, 80%)
CMYKcmyk(17.7%, 0%, 67.5%, 20.4%)
CIE-LABlab(76.87, -31.08, 61.54)
CIE-LCHlch(76.87, 68.94, 116.80°)
OKLaboklab(79% -0.0901 0.139)
OKLCHoklch(79% 0.166 123)
XYZxyz(38.2761, 51.3205, 13.0426)
Luminance0.5132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7CB42 #6642CB
analogous
#CBAA42 #A7CB42 #63CB42
triadic
#A7CB42 #42A7CB #CB42A7
tetradic
#A7CB42 #42CBAA #6642CB #CB4263
square
#A7CB42 #42CBAA #6642CB #CB4263
split-complementary
#A7CB42 #4263CB #AA42CB
monochromatic
#5D7320 #84A32D #A7CB42 #BDD872 #D4E5A2

Accessibility & contrast

On white

1.86
#A7CB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#A7CB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7CB42
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7CB42#FFFFFF#000000##000000
##A7CB421.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2E
Deuteranopia (green-blind)
#D2BE4D
Tritanopia (blue-blind)
#AFC1AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a7cb42;
/* rgb */ color: rgb(167, 203, 66);
/* oklch */ color: oklch(79.0% 0.166 123.0);
Tailwind
colors: {
  custom: {
    50: '#c4db7e',
    500: '#a7cb42',
    950: '#000000',
  },
}
SCSS
$custom: #a7cb42;
$custom-light: #c4db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7cb42",
  "rgb": {
    "r": 167,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 75.766,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79001,
    "c": 0.16566,
    "h": 123
  },
  "luminance": 0.51321
}

Semantic roles & 50–950 ramp

primary
#A7CB42
secondary
#48357C
accent
#48E070
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A7CB42

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

Preview Lab → · Contrast checker → · Palette generator →

#A7CB42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva