#AF9723#AF9723

#AF9723 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.9% C 0.129 H 96.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#AF9723
RGBrgb(175, 151, 35)
HSLhsl(50, 67%, 41%)
HSVhsv(50, 80%, 69%)
CMYKcmyk(0%, 13.7%, 80%, 31.4%)
CIE-LABlab(62.82, -2.93, 59.31)
CIE-LCHlch(62.82, 59.38, 92.83°)
OKLaboklab(67.85% -0.0149 0.1286)
OKLCHoklch(67.85% 0.129 96.6)
XYZxyz(29.0508, 31.3701, 6.1147)
Luminance0.3137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9723 #233BAF
analogous
#AF5123 #AF9723 #81AF23
triadic
#AF9723 #23AF97 #9723AF
tetradic
#AF9723 #23AF51 #233BAF #AF2381
square
#AF9723 #23AF51 #233BAF #AF2381
split-complementary
#AF9723 #2381AF #5123AF
monochromatic
#493F0F #7C6B19 #AF9723 #D7BC38 #E1CD6B

Accessibility & contrast

On white

2.89
#AF9723 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#AF9723 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9723
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9723#FFFFFF#000000##000000
##AF97231.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79404
Deuteranopia (green-blind)
#AD9B2B
Tritanopia (blue-blind)
#BD8B81
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af9723;
/* rgb */ color: rgb(175, 151, 35);
/* oklch */ color: oklch(67.9% 0.129 96.6);
Tailwind
colors: {
  custom: {
    50: '#cbb569',
    500: '#af9723',
    950: '#000000',
  },
}
SCSS
$custom: #af9723;
$custom-light: #cbb569;
$custom-dark: #000000;
JSON
{
  "hex": "#af9723",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 35
  },
  "hsl": {
    "h": 49.714,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67852,
    "c": 0.12945,
    "h": 96.6
  },
  "luminance": 0.31369
}

Semantic roles & 50–950 ramp

primary
#AF9723
secondary
#6677C7
accent
#5CEA3E
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9723

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

Preview Lab → · Contrast checker → · Palette generator →

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