#A7CD38#A7CD38

#A7CD38 is a light, vivid yellow-green. Relative luminance 0.522; OKLCH L 79.4% C 0.174 H 123.1°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#A7CD38
RGBrgb(167, 205, 56)
HSLhsl(75, 60%, 51%)
HSVhsv(75, 73%, 80%)
CMYKcmyk(18.5%, 0%, 72.7%, 19.6%)
CIE-LABlab(77.38, -32.60, 65.69)
CIE-LCHlch(77.38, 73.34, 116.39°)
OKLaboklab(79.39% -0.0952 0.1462)
OKLCHoklch(79.39% 0.174 123.1)
XYZxyz(38.4820, 52.1635, 11.7818)
Luminance0.5216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7CD38 #5E38CD
analogous
#CDA838 #A7CD38 #5CCD38
triadic
#A7CD38 #38A7CD #CD38A7
tetradic
#A7CD38 #38CDA8 #5E38CD #CD385C
square
#A7CD38 #38CDA8 #5E38CD #CD385C
split-complementary
#A7CD38 #385CCD #A838CD
monochromatic
#5A6F1C #81A028 #A7CD38 #BDD969 #D2E69A

Accessibility & contrast

On white

1.84
#A7CD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#A7CD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7CD38
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7CD38#FFFFFF#000000##000000
##A7CD381.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C01B
Deuteranopia (green-blind)
#D4BF45
Tritanopia (blue-blind)
#AFC3B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #a7cd38;
/* rgb */ color: rgb(167, 205, 56);
/* oklch */ color: oklch(79.4% 0.174 123.1);
Tailwind
colors: {
  custom: {
    50: '#c5dc79',
    500: '#a7cd38',
    950: '#000000',
  },
}
SCSS
$custom: #a7cd38;
$custom-light: #c5dc79;
$custom-dark: #000000;
JSON
{
  "hex": "#a7cd38",
  "rgb": {
    "r": 167,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 75.302,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79388,
    "c": 0.17445,
    "h": 123.1
  },
  "luminance": 0.52164
}

Semantic roles & 50–950 ramp

primary
#A7CD38
secondary
#433178
accent
#45E36D
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A7CD38

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

Preview Lab → · Contrast checker → · Palette generator →

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