#A1CB38#A1CB38

#A1CB38 is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.5% C 0.175 H 124.4°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#A1CB38
RGBrgb(161, 203, 56)
HSLhsl(77, 59%, 51%)
HSVhsv(77, 72%, 80%)
CMYKcmyk(20.7%, 0%, 72.4%, 20.4%)
CIE-LABlab(76.42, -34.05, 64.63)
CIE-LCHlch(76.42, 73.05, 117.78°)
OKLaboklab(78.52% -0.0988 0.1441)
OKLCHoklch(78.52% 0.175 124.4)
XYZxyz(36.7680, 50.5741, 11.5653)
Luminance0.5057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1CB38 #6238CB
analogous
#CBAC38 #A1CB38 #57CB38
triadic
#A1CB38 #38A1CB #CB38A1
tetradic
#A1CB38 #38CBAC #6238CB #CB3857
square
#A1CB38 #38CBAC #6238CB #CB3857
split-complementary
#A1CB38 #3857CB #AC38CB
monochromatic
#556C1C #7C9D29 #A1CB38 #B8D869 #CFE499

Accessibility & contrast

On white

1.89
#A1CB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#A1CB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1CB38
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1CB38#FFFFFF#000000##000000
##A1CB381.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE1C
Deuteranopia (green-blind)
#D1BC45
Tritanopia (blue-blind)
#A9C1AF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #a1cb38;
/* rgb */ color: rgb(161, 203, 56);
/* oklch */ color: oklch(78.5% 0.175 124.4);
Tailwind
colors: {
  custom: {
    50: '#c1db78',
    500: '#a1cb38',
    950: '#000000',
  },
}
SCSS
$custom: #a1cb38;
$custom-light: #c1db78;
$custom-dark: #000000;
JSON
{
  "hex": "#a1cb38",
  "rgb": {
    "r": 161,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 77.143,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78515,
    "c": 0.17472,
    "h": 124.4
  },
  "luminance": 0.50574
}

Semantic roles & 50–950 ramp

primary
#A1CB38
secondary
#453176
accent
#46E273
background
#FDFEFB
surface
#F9FBF1
border
#D2D4CB
text
#13150A
muted
#82847D

Preview Lab

Preview with #A1CB38

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

Preview Lab → · Contrast checker → · Palette generator →

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