#A8CB38#A8CB38

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

Color values

HEX#A8CB38
RGBrgb(168, 203, 56)
HSLhsl(74, 59%, 51%)
HSVhsv(74, 72%, 80%)
CMYKcmyk(17.2%, 0%, 72.4%, 20.4%)
CIE-LABlab(76.87, -31.27, 65.22)
CIE-LCHlch(76.87, 72.33, 115.61°)
OKLaboklab(79% -0.0916 0.1452)
OKLCHoklch(79% 0.172 122.2)
XYZxyz(38.2187, 51.3221, 11.6333)
Luminance0.5132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8CB38 #5B38CB
analogous
#CBA538 #A8CB38 #5ECB38
triadic
#A8CB38 #38A8CB #CB38A8
tetradic
#A8CB38 #38CBA5 #5B38CB #CB385E
square
#A8CB38 #38CBA5 #5B38CB #CB385E
split-complementary
#A8CB38 #385ECB #A538CB
monochromatic
#596C1C #819D29 #A8CB38 #BDD869 #D2E499

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8CB38#FFFFFF#000000##000000
##A8CB381.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)
#D7BF1C
Deuteranopia (green-blind)
#D3BE45
Tritanopia (blue-blind)
#B1C1AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a8cb38;
/* rgb */ color: rgb(168, 203, 56);
/* oklch */ color: oklch(79.0% 0.172 122.2);
Tailwind
colors: {
  custom: {
    50: '#c5db79',
    500: '#a8cb38',
    950: '#000000',
  },
}
SCSS
$custom: #a8cb38;
$custom-light: #c5db79;
$custom-dark: #000000;
JSON
{
  "hex": "#a8cb38",
  "rgb": {
    "r": 168,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 74.286,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78998,
    "c": 0.17166,
    "h": 122.2
  },
  "luminance": 0.51322
}

Semantic roles & 50–950 ramp

primary
#A8CB38
secondary
#423176
accent
#46E26B
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A8CB38

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

Preview Lab → · Contrast checker → · Palette generator →

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