#AFA136#AFA136

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

Color values

HEX#AFA136
RGBrgb(175, 161, 54)
HSLhsl(53, 53%, 45%)
HSVhsv(53, 69%, 69%)
CMYKcmyk(0%, 8%, 69.1%, 31.4%)
CIE-LABlab(65.65, -7.42, 55.02)
CIE-LCHlch(65.65, 55.52, 97.68°)
OKLaboklab(70.13% -0.0256 0.1232)
OKLCHoklch(70.13% 0.126 101.8)
XYZxyz(31.0913, 34.8714, 8.5825)
Luminance0.3487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA136 #3644AF
analogous
#AF6536 #AFA136 #80AF36
triadic
#AFA136 #36AFA1 #A136AF
tetradic
#AFA136 #36AF65 #3644AF #AF3680
square
#AFA136 #36AF65 #3644AF #AF3680
split-complementary
#AFA136 #3680AF #6536AF
monochromatic
#514B19 #807628 #AFA136 #CBBE57 #DAD086

Accessibility & contrast

On white

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

On black

7.97
#AFA136 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA136
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA136#FFFFFF#000000##000000
##AFA1361.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa136;
/* rgb */ color: rgb(175, 161, 54);
/* oklch */ color: oklch(70.1% 0.126 101.8);
Tailwind
colors: {
  custom: {
    50: '#cabc73',
    500: '#afa136',
    950: '#000000',
  },
}
SCSS
$custom: #afa136;
$custom-light: #cabc73;
$custom-dark: #000000;
JSON
{
  "hex": "#afa136",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 54
  },
  "hsl": {
    "h": 53.058,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70133,
    "c": 0.12579,
    "h": 101.8
  },
  "luminance": 0.3487
}

Semantic roles & 50–950 ramp

primary
#AFA136
secondary
#7D86C3
accent
#5CDC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AFA136

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

Preview Lab → · Contrast checker → · Palette generator →

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