#AFC136#AFC136

#AFC136 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.2% C 0.159 H 116.7°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#AFC136
RGBrgb(175, 193, 54)
HSLhsl(68, 56%, 48%)
HSVhsv(68, 72%, 76%)
CMYKcmyk(9.3%, 0%, 72%, 24.3%)
CIE-LABlab(74.52, -23.73, 63.80)
CIE-LCHlch(74.52, 68.08, 110.40°)
OKLaboklab(77.22% -0.0713 0.1417)
OKLCHoklch(77.22% 0.159 116.7)
XYZxyz(37.4159, 47.5207, 10.6907)
Luminance0.4752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC136 #4836C1
analogous
#C18D36 #AFC136 #69C136
triadic
#AFC136 #36AFC1 #C136AF
tetradic
#AFC136 #36C18D #4836C1 #C13669
square
#AFC136 #36C18D #4836C1 #C13669
split-complementary
#AFC136 #3669C1 #8D36C1
monochromatic
#58611B #849129 #AFC136 #C4D361 #D6E091

Accessibility & contrast

On white

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

On black

10.50
#AFC136 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC136
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC136#FFFFFF#000000##000000
##AFC1361.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB71C
Deuteranopia (green-blind)
#CDB841
Tritanopia (blue-blind)
#BAB6A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afc136;
/* rgb */ color: rgb(175, 193, 54);
/* oklch */ color: oklch(77.2% 0.159 116.7);
Tailwind
colors: {
  custom: {
    50: '#cad377',
    500: '#afc136',
    950: '#000000',
  },
}
SCSS
$custom: #afc136;
$custom-light: #cad377;
$custom-dark: #000000;
JSON
{
  "hex": "#afc136",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 54
  },
  "hsl": {
    "h": 67.77,
    "s": 56.275,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77223,
    "c": 0.15862,
    "h": 116.7
  },
  "luminance": 0.4752
}

Semantic roles & 50–950 ramp

primary
#AFC136
secondary
#9088CB
accent
#48E05C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #AFC136

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

Preview Lab → · Contrast checker → · Palette generator →

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