#AF9B24#AF9B24

#AF9B24 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.7% C 0.132 H 99.1°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#AF9B24
RGBrgb(175, 155, 36)
HSLhsl(51, 66%, 41%)
HSVhsv(51, 79%, 69%)
CMYKcmyk(0%, 11.4%, 79.4%, 31.4%)
CIE-LABlab(63.91, -5.05, 59.96)
CIE-LCHlch(63.91, 60.17, 94.81°)
OKLaboklab(68.72% -0.0207 0.1302)
OKLCHoklch(68.72% 0.132 99.1)
XYZxyz(29.7205, 32.6855, 6.4122)
Luminance0.3268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9B24 #2438AF
analogous
#AF5624 #AF9B24 #7EAF24
triadic
#AF9B24 #24AF9B #9B24AF
tetradic
#AF9B24 #24AF56 #2438AF #AF247E
square
#AF9B24 #24AF56 #2438AF #AF247E
split-complementary
#AF9B24 #247EAF #5624AF
monochromatic
#49410F #7C6E1A #AF9B24 #D6C03A #E1D06D

Accessibility & contrast

On white

2.79
#AF9B24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#AF9B24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9B24
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9B24#FFFFFF#000000##000000
##AF9B241.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9704
Deuteranopia (green-blind)
#B09E2D
Tritanopia (blue-blind)
#BD8F85
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af9b24;
/* rgb */ color: rgb(175, 155, 36);
/* oklch */ color: oklch(68.7% 0.132 99.1);
Tailwind
colors: {
  custom: {
    50: '#cbb86a',
    500: '#af9b24',
    950: '#000000',
  },
}
SCSS
$custom: #af9b24;
$custom-light: #cbb86a;
$custom-dark: #000000;
JSON
{
  "hex": "#af9b24",
  "rgb": {
    "r": 175,
    "g": 155,
    "b": 36
  },
  "hsl": {
    "h": 51.367,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68715,
    "c": 0.13183,
    "h": 99.1
  },
  "luminance": 0.32684
}

Semantic roles & 50–950 ramp

primary
#AF9B24
secondary
#6875C7
accent
#57E93F
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9B24

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

Preview Lab → · Contrast checker → · Palette generator →

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