#AFA135#AFA135

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

Color values

HEX#AFA135
RGBrgb(175, 161, 53)
HSLhsl(53, 54%, 45%)
HSVhsv(53, 70%, 69%)
CMYKcmyk(0%, 8%, 69.7%, 31.4%)
CIE-LABlab(65.64, -7.48, 55.42)
CIE-LCHlch(65.64, 55.92, 97.68°)
OKLaboklab(70.13% -0.0259 0.1238)
OKLCHoklch(70.13% 0.127 101.8)
XYZxyz(31.0680, 34.8621, 8.4600)
Luminance0.3486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA135 #3543AF
analogous
#AF6435 #AFA135 #80AF35
triadic
#AFA135 #35AFA1 #A135AF
tetradic
#AFA135 #35AF64 #3543AF #AF3580
square
#AFA135 #35AF64 #3543AF #AF3580
split-complementary
#AFA135 #3580AF #6435AF
monochromatic
#514B19 #807627 #AFA135 #CCBE56 #DAD085

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA135#FFFFFF#000000##000000
##AFA1351.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)
#B09C25
Deuteranopia (green-blind)
#B4A23C
Tritanopia (blue-blind)
#BC968B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #afa135;
/* rgb */ color: rgb(175, 161, 53);
/* oklch */ color: oklch(70.1% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#cabc73',
    500: '#afa135',
    950: '#000000',
  },
}
SCSS
$custom: #afa135;
$custom-light: #cabc73;
$custom-dark: #000000;
JSON
{
  "hex": "#afa135",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 53
  },
  "hsl": {
    "h": 53.115,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70125,
    "c": 0.1265,
    "h": 101.8
  },
  "luminance": 0.34861
}

Semantic roles & 50–950 ramp

primary
#AFA135
secondary
#7C84C4
accent
#5CDD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AFA135

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

Preview Lab → · Contrast checker → · Palette generator →

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