#A7CF38#A7CF38

#A7CF38 is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 79.8% C 0.177 H 123.6°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#A7CF38
RGBrgb(167, 207, 56)
HSLhsl(76, 61%, 52%)
HSVhsv(76, 73%, 81%)
CMYKcmyk(19.3%, 0%, 72.9%, 18.8%)
CIE-LABlab(77.95, -33.53, 66.25)
CIE-LCHlch(77.95, 74.25, 116.84°)
OKLaboklab(79.85% -0.0977 0.1474)
OKLCHoklch(79.85% 0.177 123.6)
XYZxyz(38.9634, 53.1264, 11.9423)
Luminance0.5313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7CF38 #6038CF
analogous
#CFAC38 #A7CF38 #5CCF38
triadic
#A7CF38 #38A7CF #CF38A7
tetradic
#A7CF38 #38CFAC #6038CF #CF385C
square
#A7CF38 #38CFAC #6038CF #CF385C
split-complementary
#A7CF38 #385CCF #AC38CF
monochromatic
#5B711B #82A327 #A7CF38 #BDDB69 #D3E79B

Accessibility & contrast

On white

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

On black

11.63
#A7CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7CF38
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7CF38#FFFFFF#000000##000000
##A7CF381.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7cf38;
/* rgb */ color: rgb(167, 207, 56);
/* oklch */ color: oklch(79.8% 0.177 123.6);
Tailwind
colors: {
  custom: {
    50: '#c5dd79',
    500: '#a7cf38',
    950: '#000000',
  },
}
SCSS
$custom: #a7cf38;
$custom-light: #c5dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#a7cf38",
  "rgb": {
    "r": 167,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 75.894,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7985,
    "c": 0.17681,
    "h": 123.6
  },
  "luminance": 0.53127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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