#AF9126#AF9126

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

Color values

HEX#AF9126
RGBrgb(175, 145, 38)
HSLhsl(47, 64%, 42%)
HSVhsv(47, 78%, 69%)
CMYKcmyk(0%, 17.1%, 78.3%, 31.4%)
CIE-LABlab(61.23, 0.44, 56.85)
CIE-LCHlch(61.23, 56.85, 89.56°)
OKLaboklab(66.6% -0.005 0.1239)
OKLCHoklch(66.6% 0.124 92.3)
XYZxyz(28.1561, 29.5064, 6.0456)
Luminance0.2950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9126 #2644AF
analogous
#AF4C26 #AF9126 #89AF26
triadic
#AF9126 #26AF91 #9126AF
tetradic
#AF9126 #26AF4C #2644AF #AF2689
square
#AF9126 #26AF4C #2644AF #AF2689
split-complementary
#AF9126 #2689AF #4C26AF
monochromatic
#4A3E10 #7D671B #AF9126 #D5B43D #E0C770

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9126#FFFFFF#000000##000000
##AF91261.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)
#A28F10
Deuteranopia (green-blind)
#A9972D
Tritanopia (blue-blind)
#BE857D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af9126;
/* rgb */ color: rgb(175, 145, 38);
/* oklch */ color: oklch(66.6% 0.124 92.3);
Tailwind
colors: {
  custom: {
    50: '#cbb069',
    500: '#af9126',
    950: '#000000',
  },
}
SCSS
$custom: #af9126;
$custom-light: #cbb069;
$custom-dark: #000000;
JSON
{
  "hex": "#af9126",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 38
  },
  "hsl": {
    "h": 46.861,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66598,
    "c": 0.12404,
    "h": 92.3
  },
  "luminance": 0.29505
}

Semantic roles & 50–950 ramp

primary
#AF9126
secondary
#6A7EC7
accent
#65E740
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF9126

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

Preview Lab → · Contrast checker → · Palette generator →

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