#A7CF4F#A7CF4F

#A7CF4F is a light, vivid yellow-green. Relative luminance 0.534; OKLCH L 80.0% C 0.161 H 124.7°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#A7CF4F
RGBrgb(167, 207, 79)
HSLhsl(79, 57%, 56%)
HSVhsv(79, 62%, 81%)
CMYKcmyk(19.3%, 0%, 61.8%, 18.8%)
CIE-LABlab(78.11, -32.03, 57.58)
CIE-LCHlch(78.11, 65.89, 119.09°)
OKLaboklab(80.04% -0.0916 0.1324)
OKLCHoklch(80.04% 0.161 124.7)
XYZxyz(39.6607, 53.4053, 15.6144)
Luminance0.5341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7CF4F #774FCF
analogous
#CFB74F #A7CF4F #67CF4F
triadic
#A7CF4F #4FA7CF #CF4FA7
tetradic
#A7CF4F #4FCFB7 #774FCF #CF4F67
square
#A7CF4F #4FCFB7 #774FCF #CF4F67
split-complementary
#A7CF4F #4F67CF #B74FCF
monochromatic
#638123 #88B130 #A7CF4F #BFDC7F #D7E9AF

Accessibility & contrast

On white

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

On black

11.68
#A7CF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7CF4F
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7CF4F#FFFFFF#000000##000000
##A7CF4F1.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC340
Deuteranopia (green-blind)
#D4C158
Tritanopia (blue-blind)
#AEC6B4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a7cf4f;
/* rgb */ color: rgb(167, 207, 79);
/* oklch */ color: oklch(80.0% 0.161 124.7);
Tailwind
colors: {
  custom: {
    50: '#c4dd86',
    500: '#a7cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #a7cf4f;
$custom-light: #c4dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#a7cf4f",
  "rgb": {
    "r": 167,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 78.75,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80035,
    "c": 0.16098,
    "h": 124.7
  },
  "luminance": 0.53406
}

Semantic roles & 50–950 ramp

primary
#A7CF4F
secondary
#533A88
accent
#47E077
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A7CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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