#AFA737#AFA737

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

Color values

HEX#AFA737
RGBrgb(175, 167, 55)
HSLhsl(56, 52%, 45%)
HSVhsv(56, 69%, 69%)
CMYKcmyk(0%, 4.6%, 68.6%, 31.4%)
CIE-LABlab(67.30, -10.53, 56.29)
CIE-LCHlch(67.30, 57.26, 100.59°)
OKLaboklab(71.45% -0.0343 0.126)
OKLCHoklch(71.45% 0.131 105.2)
XYZxyz(32.1888, 37.0284, 9.0653)
Luminance0.3703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA737 #373FAF
analogous
#AF6B37 #AFA737 #7BAF37
triadic
#AFA737 #37AFA7 #A737AF
tetradic
#AFA737 #37AF6B #373FAF #AF377B
square
#AFA737 #37AF6B #373FAF #AF377B
split-complementary
#AFA737 #377BAF #6B37AF
monochromatic
#524E1A #807B28 #AFA737 #CBC359 #D9D487

Accessibility & contrast

On white

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

On black

8.41
#AFA737 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA737
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA737#FFFFFF#000000##000000
##AFA7371.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa737;
/* rgb */ color: rgb(175, 167, 55);
/* oklch */ color: oklch(71.4% 0.131 105.2);
Tailwind
colors: {
  custom: {
    50: '#cac074',
    500: '#afa737',
    950: '#000000',
  },
}
SCSS
$custom: #afa737;
$custom-light: #cac074;
$custom-dark: #000000;
JSON
{
  "hex": "#afa737",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 55
  },
  "hsl": {
    "h": 56,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71447,
    "c": 0.13059,
    "h": 105.2
  },
  "luminance": 0.37027
}

Semantic roles & 50–950 ramp

primary
#AFA737
secondary
#7F83C3
accent
#56DC4C
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFA737

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

Preview Lab → · Contrast checker → · Palette generator →

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