#A8CF38#A8CF38

#A8CF38 is a light, vivid yellow-green. Relative luminance 0.532; OKLCH L 79.9% C 0.176 H 123.2°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#A8CF38
RGBrgb(168, 207, 56)
HSLhsl(75, 61%, 52%)
HSVhsv(75, 73%, 81%)
CMYKcmyk(18.8%, 0%, 72.9%, 18.8%)
CIE-LABlab(78.01, -33.13, 66.33)
CIE-LCHlch(78.01, 74.14, 116.54°)
OKLaboklab(79.92% -0.0967 0.1475)
OKLCHoklch(79.92% 0.176 123.2)
XYZxyz(39.1756, 53.2358, 11.9523)
Luminance0.5324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8CF38 #5F38CF
analogous
#CFAB38 #A8CF38 #5DCF38
triadic
#A8CF38 #38A8CF #CF38A8
tetradic
#A8CF38 #38CFAB #5F38CF #CF385D
square
#A8CF38 #38CFAB #5F38CF #CF385D
split-complementary
#A8CF38 #385DCF #AB38CF
monochromatic
#5B711B #83A327 #A8CF38 #BEDB69 #D3E79B

Accessibility & contrast

On white

1.80
#A8CF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#A8CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8CF38
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8CF38#FFFFFF#000000##000000
##A8CF381.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21A
Deuteranopia (green-blind)
#D6C146
Tritanopia (blue-blind)
#B0C5B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a8cf38;
/* rgb */ color: rgb(168, 207, 56);
/* oklch */ color: oklch(79.9% 0.176 123.2);
Tailwind
colors: {
  custom: {
    50: '#c6dd79',
    500: '#a8cf38',
    950: '#000000',
  },
}
SCSS
$custom: #a8cf38;
$custom-light: #c6dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#a8cf38",
  "rgb": {
    "r": 168,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 75.497,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79919,
    "c": 0.17638,
    "h": 123.2
  },
  "luminance": 0.53236
}

Semantic roles & 50–950 ramp

primary
#A8CF38
secondary
#44317A
accent
#44E46D
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A8CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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