#AFA137#AFA137

#AFA137 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.1% C 0.125 H 101.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#AFA137
RGBrgb(175, 161, 55)
HSLhsl(53, 52%, 45%)
HSVhsv(53, 69%, 69%)
CMYKcmyk(0%, 8%, 68.6%, 31.4%)
CIE-LABlab(65.66, -7.37, 54.62)
CIE-LCHlch(65.66, 55.11, 97.68°)
OKLaboklab(70.14% -0.0254 0.1225)
OKLCHoklch(70.14% 0.125 101.7)
XYZxyz(31.1150, 34.8809, 8.7074)
Luminance0.3488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA137 #3745AF
analogous
#AF6537 #AFA137 #81AF37
triadic
#AFA137 #37AFA1 #A137AF
tetradic
#AFA137 #37AF65 #3745AF #AF3781
square
#AFA137 #37AF65 #3745AF #AF3781
split-complementary
#AFA137 #3781AF #6537AF
monochromatic
#524B1A #807628 #AFA137 #CBBD59 #D9D087

Accessibility & contrast

On white

2.63
#AFA137 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#AFA137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA137
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA137#FFFFFF#000000##000000
##AFA1371.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C28
Deuteranopia (green-blind)
#B4A23D
Tritanopia (blue-blind)
#BC968B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #afa137;
/* rgb */ color: rgb(175, 161, 55);
/* oklch */ color: oklch(70.1% 0.125 101.7);
Tailwind
colors: {
  custom: {
    50: '#cabc74',
    500: '#afa137',
    950: '#000000',
  },
}
SCSS
$custom: #afa137;
$custom-light: #cabc74;
$custom-dark: #000000;
JSON
{
  "hex": "#afa137",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 55
  },
  "hsl": {
    "h": 53,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70141,
    "c": 0.12508,
    "h": 101.7
  },
  "luminance": 0.3488
}

Semantic roles & 50–950 ramp

primary
#AFA137
secondary
#7F87C3
accent
#5DDC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AFA137

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

Preview Lab → · Contrast checker → · Palette generator →

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