#A8CD38#A8CD38

#A8CD38 is a light, vivid yellow-green. Relative luminance 0.523; OKLCH L 79.5% C 0.174 H 122.8°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#A8CD38
RGBrgb(168, 205, 56)
HSLhsl(75, 60%, 51%)
HSVhsv(75, 73%, 80%)
CMYKcmyk(18%, 0%, 72.7%, 19.6%)
CIE-LABlab(77.44, -32.20, 65.78)
CIE-LCHlch(77.44, 73.24, 116.08°)
OKLaboklab(79.46% -0.0941 0.1463)
OKLCHoklch(79.46% 0.174 122.8)
XYZxyz(38.6941, 52.2728, 11.7918)
Luminance0.5227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8CD38 #5D38CD
analogous
#CDA738 #A8CD38 #5DCD38
triadic
#A8CD38 #38A8CD #CD38A8
tetradic
#A8CD38 #38CDA7 #5D38CD #CD385D
square
#A8CD38 #38CDA7 #5D38CD #CD385D
split-complementary
#A8CD38 #385DCD #A738CD
monochromatic
#5A6F1C #82A028 #A8CD38 #BDD969 #D3E69A

Accessibility & contrast

On white

1.83
#A8CD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#A8CD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8CD38
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8CD38#FFFFFF#000000##000000
##A8CD381.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8cd38;
/* rgb */ color: rgb(168, 205, 56);
/* oklch */ color: oklch(79.5% 0.174 122.8);
Tailwind
colors: {
  custom: {
    50: '#c6dc79',
    500: '#a8cd38',
    950: '#000000',
  },
}
SCSS
$custom: #a8cd38;
$custom-light: #c6dc79;
$custom-dark: #000000;
JSON
{
  "hex": "#a8cd38",
  "rgb": {
    "r": 168,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 74.899,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79458,
    "c": 0.17401,
    "h": 122.8
  },
  "luminance": 0.52273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8CD38

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

Preview Lab → · Contrast checker → · Palette generator →

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