#A5CF38#A5CF38

#A5CF38 is a light, vivid yellow-green. Relative luminance 0.529; OKLCH L 79.7% C 0.178 H 124.2°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#A5CF38
RGBrgb(165, 207, 56)
HSLhsl(77, 61%, 52%)
HSVhsv(77, 73%, 81%)
CMYKcmyk(20.3%, 0%, 72.9%, 18.8%)
CIE-LABlab(77.82, -34.31, 66.08)
CIE-LCHlch(77.82, 74.46, 117.44°)
OKLaboklab(79.71% -0.0998 0.147)
OKLCHoklch(79.71% 0.178 124.2)
XYZxyz(38.5441, 52.9102, 11.9227)
Luminance0.5291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CF38 #6238CF
analogous
#CFAE38 #A5CF38 #5ACF38
triadic
#A5CF38 #38A5CF #CF38A5
tetradic
#A5CF38 #38CFAE #6238CF #CF385A
square
#A5CF38 #38CFAE #6238CF #CF385A
split-complementary
#A5CF38 #385ACF #AE38CF
monochromatic
#59711B #80A327 #A5CF38 #BBDB69 #D2E79B

Accessibility & contrast

On white

1.81
#A5CF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#A5CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CF38
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CF38#FFFFFF#000000##000000
##A5CF381.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21A
Deuteranopia (green-blind)
#D5C046
Tritanopia (blue-blind)
#ADC5B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #a5cf38;
/* rgb */ color: rgb(165, 207, 56);
/* oklch */ color: oklch(79.7% 0.178 124.2);
Tailwind
colors: {
  custom: {
    50: '#c3dd79',
    500: '#a5cf38',
    950: '#000000',
  },
}
SCSS
$custom: #a5cf38;
$custom-light: #c3dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cf38",
  "rgb": {
    "r": 165,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 76.689,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79714,
    "c": 0.1777,
    "h": 124.2
  },
  "luminance": 0.52911
}

Semantic roles & 50–950 ramp

primary
#A5CF38
secondary
#45317A
accent
#44E470
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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