#AFC137#AFC137

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

Color values

HEX#AFC137
RGBrgb(175, 193, 55)
HSLhsl(68, 56%, 49%)
HSVhsv(68, 72%, 76%)
CMYKcmyk(9.3%, 0%, 71.5%, 24.3%)
CIE-LABlab(74.53, -23.68, 63.46)
CIE-LCHlch(74.53, 67.73, 110.47°)
OKLaboklab(77.23% -0.0711 0.1411)
OKLCHoklch(77.23% 0.158 116.7)
XYZxyz(37.4397, 47.5302, 10.8156)
Luminance0.4753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC137 #4937C1
analogous
#C18E37 #AFC137 #6AC137
triadic
#AFC137 #37AFC1 #C137AF
tetradic
#AFC137 #37C18E #4937C1 #C1376A
square
#AFC137 #37C18E #4937C1 #C1376A
split-complementary
#AFC137 #376AC1 #8E37C1
monochromatic
#59621C #849129 #AFC137 #C4D263 #D6E092

Accessibility & contrast

On white

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

On black

10.51
#AFC137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC137
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC137#FFFFFF#000000##000000
##AFC1371.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc137;
/* rgb */ color: rgb(175, 193, 55);
/* oklch */ color: oklch(77.2% 0.158 116.7);
Tailwind
colors: {
  custom: {
    50: '#cad377',
    500: '#afc137',
    950: '#000000',
  },
}
SCSS
$custom: #afc137;
$custom-light: #cad377;
$custom-dark: #000000;
JSON
{
  "hex": "#afc137",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 55
  },
  "hsl": {
    "h": 67.826,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.7723,
    "c": 0.15802,
    "h": 116.7
  },
  "luminance": 0.4753
}

Semantic roles & 50–950 ramp

primary
#AFC137
secondary
#9189CB
accent
#49DF5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #AFC137

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

Preview Lab → · Contrast checker → · Palette generator →

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