#AFC46B#AFC46B

#AFC46B is a light, moderate yellow-green. Relative luminance 0.497; OKLCH L 78.5% C 0.117 H 120.1°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#AFC46B
RGBrgb(175, 196, 107)
HSLhsl(74, 43%, 59%)
HSVhsv(74, 45%, 77%)
CMYKcmyk(10.7%, 0%, 45.4%, 23.1%)
CIE-LABlab(75.86, -21.01, 42.13)
CIE-LCHlch(75.86, 47.08, 116.51°)
OKLaboklab(78.46% -0.0587 0.1014)
OKLCHoklch(78.46% 0.117 120.1)
XYZxyz(40.0731, 49.6555, 21.3804)
Luminance0.4965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC46B #806BC4
analogous
#C4AC6B #AFC46B #83C46B
triadic
#AFC46B #6BAFC4 #C46BAF
tetradic
#AFC46B #6BC4AC #806BC4 #C46B83
square
#AFC46B #6BC4AC #806BC4 #C46B83
split-complementary
#AFC46B #6B83C4 #AC6BC4
monochromatic
#6F8133 #94AD45 #AFC46B #C7D597 #DEE7C3

Accessibility & contrast

On white

1.92
#AFC46B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#AFC46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC46B
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC46B#FFFFFF#000000##000000
##AFC46B1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBB64
Deuteranopia (green-blind)
#CBBB70
Tritanopia (blue-blind)
#B6BCAF
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc46b;
/* rgb */ color: rgb(175, 196, 107);
/* oklch */ color: oklch(78.5% 0.117 120.1);
Tailwind
colors: {
  custom: {
    50: '#c8d597',
    500: '#afc46b',
    950: '#000000',
  },
}
SCSS
$custom: #afc46b;
$custom-light: #c8d597;
$custom-dark: #000000;
JSON
{
  "hex": "#afc46b",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 107
  },
  "hsl": {
    "h": 74.157,
    "s": 42.995,
    "l": 59.412
  },
  "oklch": {
    "l": 0.78455,
    "c": 0.11717,
    "h": 120.1
  },
  "luminance": 0.49655
}

Semantic roles & 50–950 ramp

primary
#AFC46B
secondary
#BCB4D7
accent
#55D373
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140D
muted
#82837E

Preview Lab

Preview with #AFC46B

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

Preview Lab → · Contrast checker → · Palette generator →

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