#AFA736#AFA736

#AFA736 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.4% C 0.131 H 105.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#AFA736
RGBrgb(175, 167, 54)
HSLhsl(56, 53%, 45%)
HSVhsv(56, 69%, 69%)
CMYKcmyk(0%, 4.6%, 69.1%, 31.4%)
CIE-LABlab(67.29, -10.58, 56.68)
CIE-LCHlch(67.29, 57.66, 100.58°)
OKLaboklab(71.44% -0.0346 0.1267)
OKLCHoklch(71.44% 0.131 105.3)
XYZxyz(32.1650, 37.0189, 8.9404)
Luminance0.3702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA736 #363EAF
analogous
#AF6B36 #AFA736 #7BAF36
triadic
#AFA736 #36AFA7 #A736AF
tetradic
#AFA736 #36AF6B #363EAF #AF367B
square
#AFA736 #36AF6B #363EAF #AF367B
split-complementary
#AFA736 #367BAF #6B36AF
monochromatic
#514E19 #807A28 #AFA736 #CBC357 #DAD486

Accessibility & contrast

On white

2.50
#AFA736 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#AFA736 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA736
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA736#FFFFFF#000000##000000
##AFA7361.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A125
Deuteranopia (green-blind)
#B8A63D
Tritanopia (blue-blind)
#BC9C90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa736;
/* rgb */ color: rgb(175, 167, 54);
/* oklch */ color: oklch(71.4% 0.131 105.3);
Tailwind
colors: {
  custom: {
    50: '#cac074',
    500: '#afa736',
    950: '#000000',
  },
}
SCSS
$custom: #afa736;
$custom-light: #cac074;
$custom-dark: #000000;
JSON
{
  "hex": "#afa736",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 54
  },
  "hsl": {
    "h": 56.033,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71439,
    "c": 0.13128,
    "h": 105.3
  },
  "luminance": 0.37018
}

Semantic roles & 50–950 ramp

primary
#AFA736
secondary
#7D82C3
accent
#55DC4C
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFA736

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

Preview Lab → · Contrast checker → · Palette generator →

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