#AF9120#AF9120

#AF9120 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.6% C 0.127 H 92.8°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#AF9120
RGBrgb(175, 145, 32)
HSLhsl(47, 69%, 41%)
HSVhsv(47, 82%, 69%)
CMYKcmyk(0%, 17.1%, 81.7%, 31.4%)
CIE-LABlab(61.19, 0.22, 58.82)
CIE-LCHlch(61.19, 58.82, 89.78°)
OKLaboklab(66.56% -0.0062 0.1269)
OKLCHoklch(66.56% 0.127 92.8)
XYZxyz(28.0670, 29.4708, 5.5763)
Luminance0.2947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9120 #203EAF
analogous
#AF4A20 #AF9120 #85AF20
triadic
#AF9120 #20AF91 #9120AF
tetradic
#AF9120 #20AF4A #203EAF #AF2085
square
#AF9120 #20AF4A #203EAF #AF2085
split-complementary
#AF9120 #2085AF #4A20AF
monochromatic
#483B0D #7B6617 #AF9120 #DAB733 #E3C966

Accessibility & contrast

On white

3.05
#AF9120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#AF9120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9120
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9120#FFFFFF#000000##000000
##AF91201.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A99728
Tritanopia (blue-blind)
#BE847C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af9120;
/* rgb */ color: rgb(175, 145, 32);
/* oklch */ color: oklch(66.6% 0.127 92.8);
Tailwind
colors: {
  custom: {
    50: '#cbb067',
    500: '#af9120',
    950: '#000000',
  },
}
SCSS
$custom: #af9120;
$custom-light: #cbb067;
$custom-dark: #000000;
JSON
{
  "hex": "#af9120",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 32
  },
  "hsl": {
    "h": 47.413,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66564,
    "c": 0.12706,
    "h": 92.8
  },
  "luminance": 0.29469
}

Semantic roles & 50–950 ramp

primary
#AF9120
secondary
#6278C8
accent
#61EC3C
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #AF9120

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

Preview Lab → · Contrast checker → · Palette generator →

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