#A5C138#A5C138

#A5C138 is a light, vivid yellow-green. Relative luminance 0.464; OKLCH L 76.5% C 0.161 H 120.5°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#A5C138
RGBrgb(165, 193, 56)
HSLhsl(72, 55%, 49%)
HSVhsv(72, 71%, 76%)
CMYKcmyk(14.5%, 0%, 71%, 24.3%)
CIE-LABlab(73.82, -27.75, 62.16)
CIE-LCHlch(73.82, 68.08, 114.06°)
OKLaboklab(76.48% -0.0817 0.1388)
OKLCHoklch(76.48% 0.161 120.5)
XYZxyz(35.3014, 46.4249, 10.8418)
Luminance0.4642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C138 #5438C1
analogous
#C19938 #A5C138 #61C138
triadic
#A5C138 #38A5C1 #C138A5
tetradic
#A5C138 #38C199 #5438C1 #C13861
square
#A5C138 #38C199 #5438C1 #C13861
split-complementary
#A5C138 #3861C1 #9938C1
monochromatic
#54621C #7C922A #A5C138 #BCD264 #D0E094

Accessibility & contrast

On white

2.04
#A5C138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#A5C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C138
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C138#FFFFFF#000000##000000
##A5C1381.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB620
Deuteranopia (green-blind)
#CAB643
Tritanopia (blue-blind)
#AEB7A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a5c138;
/* rgb */ color: rgb(165, 193, 56);
/* oklch */ color: oklch(76.5% 0.161 120.5);
Tailwind
colors: {
  custom: {
    50: '#c3d377',
    500: '#a5c138',
    950: '#000000',
  },
}
SCSS
$custom: #a5c138;
$custom-light: #c3d377;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c138",
  "rgb": {
    "r": 165,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 72.263,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76483,
    "c": 0.16108,
    "h": 120.5
  },
  "luminance": 0.46425
}

Semantic roles & 50–950 ramp

primary
#A5C138
secondary
#978ACB
accent
#49DE68
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #A5C138

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

Preview Lab → · Contrast checker → · Palette generator →

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