#AF9124#AF9124

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

Color values

HEX#AF9124
RGBrgb(175, 145, 36)
HSLhsl(47, 66%, 41%)
HSVhsv(47, 79%, 69%)
CMYKcmyk(0%, 17.1%, 79.4%, 31.4%)
CIE-LABlab(61.22, 0.36, 57.53)
CIE-LCHlch(61.22, 57.53, 89.64°)
OKLaboklab(66.59% -0.0054 0.125)
OKLCHoklch(66.59% 0.125 92.5)
XYZxyz(28.1247, 29.4939, 5.8803)
Luminance0.2949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9124 #2442AF
analogous
#AF4B24 #AF9124 #88AF24
triadic
#AF9124 #24AF91 #9124AF
tetradic
#AF9124 #24AF4B #2442AF #AF2488
square
#AF9124 #24AF4B #2442AF #AF2488
split-complementary
#AF9124 #2488AF #4B24AF
monochromatic
#493D0F #7C671A #AF9124 #D6B53A #E1C86D

Accessibility & contrast

On white

3.04
#AF9124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#AF9124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9124
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9124#FFFFFF#000000##000000
##AF91241.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af9124;
/* rgb */ color: rgb(175, 145, 36);
/* oklch */ color: oklch(66.6% 0.125 92.5);
Tailwind
colors: {
  custom: {
    50: '#cbb068',
    500: '#af9124',
    950: '#000000',
  },
}
SCSS
$custom: #af9124;
$custom-light: #cbb068;
$custom-dark: #000000;
JSON
{
  "hex": "#af9124",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 36
  },
  "hsl": {
    "h": 47.05,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66586,
    "c": 0.1251,
    "h": 92.5
  },
  "luminance": 0.29492
}

Semantic roles & 50–950 ramp

primary
#AF9124
secondary
#687CC7
accent
#64E93F
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF9124

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

Preview Lab → · Contrast checker → · Palette generator →

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