#AFC57B#AFC57B

#AFC57B is a light, moderate yellow-green. Relative luminance 0.505; OKLCH L 78.9% C 0.101 H 122.2°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#AFC57B
RGBrgb(175, 197, 123)
HSLhsl(78, 39%, 63%)
HSVhsv(78, 38%, 77%)
CMYKcmyk(11.2%, 0%, 37.6%, 22.7%)
CIE-LABlab(76.36, -19.64, 34.68)
CIE-LCHlch(76.36, 39.85, 119.53°)
OKLaboklab(78.93% -0.0538 0.0853)
OKLCHoklch(78.93% 0.101 122.2)
XYZxyz(41.2204, 50.4765, 26.3064)
Luminance0.5048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC57B #917BC5
analogous
#C5B67B #AFC57B #8AC57B
triadic
#AFC57B #7BAFC5 #C57BAF
tetradic
#AFC57B #7BC5B6 #917BC5 #C57B8A
square
#AFC57B #7BC5B6 #917BC5 #C57B8A
split-complementary
#AFC57B #7B8AC5 #B67BC5
monochromatic
#72893C #95B250 #AFC57B #C9D8A6 #E3EAD0

Accessibility & contrast

On white

1.89
#AFC57B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#AFC57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC57B
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC57B#FFFFFF#000000##000000
##AFC57B1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBD76
Deuteranopia (green-blind)
#CABC7F
Tritanopia (blue-blind)
#B5BEB3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc57b;
/* rgb */ color: rgb(175, 197, 123);
/* oklch */ color: oklch(78.9% 0.101 122.2);
Tailwind
colors: {
  custom: {
    50: '#c8d6a2',
    500: '#afc57b',
    950: '#000000',
  },
}
SCSS
$custom: #afc57b;
$custom-light: #c8d6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#afc57b",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 123
  },
  "hsl": {
    "h": 77.838,
    "s": 38.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.78931,
    "c": 0.10084,
    "h": 122.2
  },
  "luminance": 0.50477
}

Semantic roles & 50–950 ramp

primary
#AFC57B
secondary
#655391
accent
#34B259
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140F
muted
#828380

Preview Lab

Preview with #AFC57B

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

Preview Lab → · Contrast checker → · Palette generator →

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