#AF9026#AF9026

#AF9026 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.4% C 0.123 H 91.6°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#AF9026
RGBrgb(175, 144, 38)
HSLhsl(46, 64%, 42%)
HSVhsv(46, 78%, 69%)
CMYKcmyk(0%, 17.7%, 78.3%, 31.4%)
CIE-LABlab(60.96, 0.99, 56.60)
CIE-LCHlch(60.96, 56.61, 89.00°)
OKLaboklab(66.39% -0.0034 0.1234)
OKLCHoklch(66.39% 0.123 91.6)
XYZxyz(28.0039, 29.2022, 5.9949)
Luminance0.2920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9026 #2645AF
analogous
#AF4B26 #AF9026 #8AAF26
triadic
#AF9026 #26AF90 #9026AF
tetradic
#AF9026 #26AF4B #2645AF #AF268A
square
#AF9026 #26AF4B #2645AF #AF268A
split-complementary
#AF9026 #268AAF #4B26AF
monochromatic
#4A3D10 #7D671B #AF9026 #D5B33D #E0C670

Accessibility & contrast

On white

3.07
#AF9026 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#AF9026 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9026
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9026#FFFFFF#000000##000000
##AF90261.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E10
Deuteranopia (green-blind)
#A8972C
Tritanopia (blue-blind)
#BE837C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af9026;
/* rgb */ color: rgb(175, 144, 38);
/* oklch */ color: oklch(66.4% 0.123 91.6);
Tailwind
colors: {
  custom: {
    50: '#cbb069',
    500: '#af9026',
    950: '#000000',
  },
}
SCSS
$custom: #af9026;
$custom-light: #cbb069;
$custom-dark: #000000;
JSON
{
  "hex": "#af9026",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 38
  },
  "hsl": {
    "h": 46.423,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66388,
    "c": 0.12346,
    "h": 91.6
  },
  "luminance": 0.292
}

Semantic roles & 50–950 ramp

primary
#AF9026
secondary
#6A7FC7
accent
#66E740
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF9026

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

Preview Lab → · Contrast checker → · Palette generator →

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