#AF9823#AF9823

#AF9823 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 68.1% C 0.130 H 97.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#AF9823
RGBrgb(175, 152, 35)
HSLhsl(50, 67%, 41%)
HSVhsv(50, 80%, 69%)
CMYKcmyk(0%, 13.1%, 80%, 31.4%)
CIE-LABlab(63.09, -3.47, 59.55)
CIE-LCHlch(63.09, 59.65, 93.34°)
OKLaboklab(68.07% -0.0164 0.1291)
OKLCHoklch(68.07% 0.13 97.2)
XYZxyz(29.2124, 31.6934, 6.1685)
Luminance0.3169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9823 #233AAF
analogous
#AF5223 #AF9823 #80AF23
triadic
#AF9823 #23AF98 #9823AF
tetradic
#AF9823 #23AF52 #233AAF #AF2380
square
#AF9823 #23AF52 #233AAF #AF2380
split-complementary
#AF9823 #2380AF #5223AF
monochromatic
#493F0F #7C6C19 #AF9823 #D7BD38 #E1CE6B

Accessibility & contrast

On white

2.86
#AF9823 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#AF9823 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9823
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9823#FFFFFF#000000##000000
##AF98231.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89403
Deuteranopia (green-blind)
#AE9C2C
Tritanopia (blue-blind)
#BD8C82
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af9823;
/* rgb */ color: rgb(175, 152, 35);
/* oklch */ color: oklch(68.1% 0.130 97.2);
Tailwind
colors: {
  custom: {
    50: '#cbb569',
    500: '#af9823',
    950: '#000000',
  },
}
SCSS
$custom: #af9823;
$custom-light: #cbb569;
$custom-dark: #000000;
JSON
{
  "hex": "#af9823",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 50.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68066,
    "c": 0.13014,
    "h": 97.2
  },
  "luminance": 0.31692
}

Semantic roles & 50–950 ramp

primary
#AF9823
secondary
#6676C7
accent
#5AEA3E
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9823

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

Preview Lab → · Contrast checker → · Palette generator →

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