#AFC05A#AFC05A

#AFC05A is a light, vivid yellow-green. Relative luminance 0.476; OKLCH L 77.3% C 0.129 H 117.4°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#AFC05A
RGBrgb(175, 192, 90)
HSLhsl(70, 45%, 55%)
HSVhsv(70, 53%, 75%)
CMYKcmyk(8.9%, 0%, 53.1%, 24.7%)
CIE-LABlab(74.54, -20.71, 48.78)
CIE-LCHlch(74.54, 52.99, 113.01°)
OKLaboklab(77.33% -0.0594 0.1146)
OKLCHoklch(77.33% 0.129 117.4)
XYZxyz(38.3748, 47.5518, 16.8277)
Luminance0.4755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC05A #6B5AC0
analogous
#C09E5A #AFC05A #7CC05A
triadic
#AFC05A #5AAFC0 #C05AAF
tetradic
#AFC05A #5AC09E #6B5AC0 #C05A7C
square
#AFC05A #5AC09E #6B5AC0 #C05A7C
split-complementary
#AFC05A #5A7CC0 #9E5AC0
monochromatic
#68732C #8FA03D #AFC05A #C4D186 #DAE2B3

Accessibility & contrast

On white

2.00
#AFC05A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#AFC05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC05A
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC05A#FFFFFF#000000##000000
##AFC05A1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB750
Deuteranopia (green-blind)
#CAB860
Tritanopia (blue-blind)
#B8B7A9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc05a;
/* rgb */ color: rgb(175, 192, 90);
/* oklch */ color: oklch(77.3% 0.129 117.4);
Tailwind
colors: {
  custom: {
    50: '#c9d38c',
    500: '#afc05a',
    950: '#000000',
  },
}
SCSS
$custom: #afc05a;
$custom-light: #c9d38c;
$custom-dark: #000000;
JSON
{
  "hex": "#afc05a",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 90
  },
  "hsl": {
    "h": 70,
    "s": 44.737,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77335,
    "c": 0.12911,
    "h": 117.4
  },
  "luminance": 0.47551
}

Semantic roles & 50–950 ramp

primary
#AFC05A
secondary
#ADA6D0
accent
#53D469
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140C
muted
#82827D

Preview Lab

Preview with #AFC05A

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

Preview Lab → · Contrast checker → · Palette generator →

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