#AFCB37#AFCB37

#AFCB37 is a light, vivid yellow-green. Relative luminance 0.521; OKLCH L 79.5% C 0.169 H 119.9°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#AFCB37
RGBrgb(175, 203, 55)
HSLhsl(71, 59%, 51%)
HSVhsv(71, 73%, 80%)
CMYKcmyk(13.8%, 0%, 72.9%, 20.4%)
CIE-LABlab(77.34, -28.50, 66.18)
CIE-LCHlch(77.34, 72.06, 113.30°)
OKLaboklab(79.49% -0.0844 0.1469)
OKLCHoklch(79.49% 0.169 119.9)
XYZxyz(39.7255, 52.1018, 11.5776)
Luminance0.5210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB37 #5337CB
analogous
#CB9D37 #AFCB37 #65CB37
triadic
#AFCB37 #37AFCB #CB37AF
tetradic
#AFCB37 #37CB9D #5337CB #CB3765
square
#AFCB37 #37CB9D #5337CB #CB3765
split-complementary
#AFCB37 #3765CB #9D37CB
monochromatic
#5D6C1C #869C29 #AFCB37 #C2D868 #D6E498

Accessibility & contrast

On white

1.84
#AFCB37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#AFCB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB37
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB37#FFFFFF#000000##000000
##AFCB371.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF19
Deuteranopia (green-blind)
#D5BF44
Tritanopia (blue-blind)
#B9C0AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afcb37;
/* rgb */ color: rgb(175, 203, 55);
/* oklch */ color: oklch(79.5% 0.169 119.9);
Tailwind
colors: {
  custom: {
    50: '#cada78',
    500: '#afcb37',
    950: '#000000',
  },
}
SCSS
$custom: #afcb37;
$custom-light: #cada78;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb37",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 55
  },
  "hsl": {
    "h": 71.351,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79494,
    "c": 0.1694,
    "h": 119.9
  },
  "luminance": 0.52102
}

Semantic roles & 50–950 ramp

primary
#AFCB37
secondary
#3E3175
accent
#46E263
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFCB37

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

Preview Lab → · Contrast checker → · Palette generator →

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