#AF9223#AF9223

#AF9223 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.8% C 0.126 H 93.3°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#AF9223
RGBrgb(175, 146, 35)
HSLhsl(48, 67%, 41%)
HSVhsv(48, 80%, 69%)
CMYKcmyk(0%, 16.6%, 80%, 31.4%)
CIE-LABlab(61.48, -0.22, 58.10)
CIE-LCHlch(61.48, 58.10, 90.22°)
OKLaboklab(66.79% -0.0072 0.126)
OKLCHoklch(66.79% 0.126 93.3)
XYZxyz(28.2631, 29.7948, 5.8521)
Luminance0.2979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9223 #2340AF
analogous
#AF4C23 #AF9223 #86AF23
triadic
#AF9223 #23AF92 #9223AF
tetradic
#AF9223 #23AF4C #2340AF #AF2386
square
#AF9223 #23AF4C #2340AF #AF2386
split-complementary
#AF9223 #2386AF #4C23AF
monochromatic
#493D0F #7C6719 #AF9223 #D7B638 #E1C96B

Accessibility & contrast

On white

3.02
#AF9223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#AF9223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9223
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9223#FFFFFF#000000##000000
##AF92231.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F07
Deuteranopia (green-blind)
#AA982A
Tritanopia (blue-blind)
#BE857D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af9223;
/* rgb */ color: rgb(175, 146, 35);
/* oklch */ color: oklch(66.8% 0.126 93.3);
Tailwind
colors: {
  custom: {
    50: '#cbb168',
    500: '#af9223',
    950: '#000000',
  },
}
SCSS
$custom: #af9223;
$custom-light: #cbb168;
$custom-dark: #000000;
JSON
{
  "hex": "#af9223",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 35
  },
  "hsl": {
    "h": 47.571,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66791,
    "c": 0.1262,
    "h": 93.3
  },
  "luminance": 0.29793
}

Semantic roles & 50–950 ramp

primary
#AF9223
secondary
#667AC7
accent
#62EA3E
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF9223

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

Preview Lab → · Contrast checker → · Palette generator →

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