#AF9626#AF9626

#AF9626 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.7% C 0.127 H 95.7°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#AF9626
RGBrgb(175, 150, 38)
HSLhsl(49, 64%, 42%)
HSVhsv(49, 78%, 69%)
CMYKcmyk(0%, 14.3%, 78.3%, 31.4%)
CIE-LABlab(62.57, -2.28, 58.08)
CIE-LCHlch(62.57, 58.12, 92.25°)
OKLaboklab(67.66% -0.0127 0.1266)
OKLCHoklch(67.66% 0.127 95.7)
XYZxyz(28.9370, 31.0682, 6.3059)
Luminance0.3107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9626 #263FAF
analogous
#AF5226 #AF9626 #84AF26
triadic
#AF9626 #26AF96 #9626AF
tetradic
#AF9626 #26AF52 #263FAF #AF2684
square
#AF9626 #26AF52 #263FAF #AF2684
split-complementary
#AF9626 #2684AF #5226AF
monochromatic
#4A4010 #7D6B1B #AF9626 #D5B93D #E0CB70

Accessibility & contrast

On white

2.91
#AF9626 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#AF9626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9626
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9626#FFFFFF#000000##000000
##AF96261.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6930D
Deuteranopia (green-blind)
#AD9B2E
Tritanopia (blue-blind)
#BD8A81
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9626;
/* rgb */ color: rgb(175, 150, 38);
/* oklch */ color: oklch(67.7% 0.127 95.7);
Tailwind
colors: {
  custom: {
    50: '#cbb46a',
    500: '#af9626',
    950: '#000000',
  },
}
SCSS
$custom: #af9626;
$custom-light: #cbb46a;
$custom-dark: #000000;
JSON
{
  "hex": "#af9626",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 38
  },
  "hsl": {
    "h": 49.051,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67656,
    "c": 0.12721,
    "h": 95.7
  },
  "luminance": 0.31067
}

Semantic roles & 50–950 ramp

primary
#AF9626
secondary
#6A7BC7
accent
#5FE740
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9626

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

Preview Lab → · Contrast checker → · Palette generator →

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