#AFCB57#AFCB57

#AFCB57 is a light, vivid yellow-green. Relative luminance 0.525; OKLCH L 79.8% C 0.146 H 121.2°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#AFCB57
RGBrgb(175, 203, 87)
HSLhsl(74, 53%, 57%)
HSVhsv(74, 57%, 80%)
CMYKcmyk(13.8%, 0%, 57.1%, 20.4%)
CIE-LABlab(77.59, -26.35, 53.65)
CIE-LCHlch(77.59, 59.78, 116.16°)
OKLaboklab(79.77% -0.0755 0.1248)
OKLCHoklch(79.77% 0.146 121.2)
XYZxyz(40.7558, 52.5140, 17.0041)
Luminance0.5251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB57 #7357CB
analogous
#CBAD57 #AFCB57 #75CB57
triadic
#AFCB57 #57AFCB #CB57AF
tetradic
#AFCB57 #57CBAD #7357CB #CB5775
square
#AFCB57 #57CBAD #7357CB #CB5775
split-complementary
#AFCB57 #5775CB #AD57CB
monochromatic
#6B8028 #92AF36 #AFCB57 #C5D986 #DCE8B4

Accessibility & contrast

On white

1.83
#AFCB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#AFCB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB57
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB57#FFFFFF#000000##000000
##AFCB571.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04B
Deuteranopia (green-blind)
#D3C05E
Tritanopia (blue-blind)
#B7C1B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcb57;
/* rgb */ color: rgb(175, 203, 87);
/* oklch */ color: oklch(79.8% 0.146 121.2);
Tailwind
colors: {
  custom: {
    50: '#c9da8a',
    500: '#afcb57',
    950: '#000000',
  },
}
SCSS
$custom: #afcb57;
$custom-light: #c9da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb57",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 74.483,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.7977,
    "c": 0.14589,
    "h": 121.2
  },
  "luminance": 0.52514
}

Semantic roles & 50–950 ramp

primary
#AFCB57
secondary
#503F88
accent
#4CDC6F
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCB57

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

Preview Lab → · Contrast checker → · Palette generator →

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