#AF9830#AF9830

#AF9830 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 68.2% C 0.123 H 96.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#AF9830
RGBrgb(175, 152, 48)
HSLhsl(49, 57%, 44%)
HSVhsv(49, 73%, 69%)
CMYKcmyk(0%, 13.1%, 72.6%, 31.4%)
CIE-LABlab(63.17, -2.92, 54.95)
CIE-LCHlch(63.17, 55.02, 93.04°)
OKLaboklab(68.15% -0.0135 0.1219)
OKLCHoklch(68.15% 0.123 96.3)
XYZxyz(29.4424, 31.7854, 7.3801)
Luminance0.3178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9830 #3047AF
analogous
#AF5830 #AF9830 #86AF30
triadic
#AF9830 #30AF98 #9830AF
tetradic
#AF9830 #30AF58 #3047AF #AF3086
square
#AF9830 #30AF58 #3047AF #AF3086
split-complementary
#AF9830 #3086AF #5830AF
monochromatic
#4F4516 #7F6E23 #AF9830 #CEB74E #DCCB7E

Accessibility & contrast

On white

2.85
#AF9830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#AF9830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9830
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9830#FFFFFF#000000##000000
##AF98301.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89520
Deuteranopia (green-blind)
#AE9C36
Tritanopia (blue-blind)
#BD8C83
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af9830;
/* rgb */ color: rgb(175, 152, 48);
/* oklch */ color: oklch(68.2% 0.123 96.3);
Tailwind
colors: {
  custom: {
    50: '#cbb66f',
    500: '#af9830',
    950: '#000000',
  },
}
SCSS
$custom: #af9830;
$custom-light: #cbb66f;
$custom-dark: #000000;
JSON
{
  "hex": "#af9830",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 48
  },
  "hsl": {
    "h": 49.134,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68151,
    "c": 0.12264,
    "h": 96.3
  },
  "luminance": 0.31784
}

Semantic roles & 50–950 ramp

primary
#AF9830
secondary
#7685C4
accent
#63E048
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9830

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

Preview Lab → · Contrast checker → · Palette generator →

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