#AF9930#AF9930

#AF9930 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.4% C 0.123 H 97.0°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#AF9930
RGBrgb(175, 153, 48)
HSLhsl(50, 57%, 44%)
HSVhsv(50, 73%, 69%)
CMYKcmyk(0%, 12.6%, 72.6%, 31.4%)
CIE-LABlab(63.43, -3.46, 55.21)
CIE-LCHlch(63.43, 55.32, 93.58°)
OKLaboklab(68.36% -0.015 0.1225)
OKLCHoklch(68.36% 0.123 97)
XYZxyz(29.6054, 32.1114, 7.4344)
Luminance0.3211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9930 #3046AF
analogous
#AF5930 #AF9930 #85AF30
triadic
#AF9930 #30AF99 #9930AF
tetradic
#AF9930 #30AF59 #3046AF #AF3085
square
#AF9930 #30AF59 #3046AF #AF3085
split-complementary
#AF9930 #3085AF #5930AF
monochromatic
#4F4516 #7F6F23 #AF9930 #CEB84E #DCCB7E

Accessibility & contrast

On white

2.83
#AF9930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#AF9930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9930
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9930#FFFFFF#000000##000000
##AF99301.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99520
Deuteranopia (green-blind)
#AE9D36
Tritanopia (blue-blind)
#BD8D84
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af9930;
/* rgb */ color: rgb(175, 153, 48);
/* oklch */ color: oklch(68.4% 0.123 97.0);
Tailwind
colors: {
  custom: {
    50: '#cbb66f',
    500: '#af9930',
    950: '#000000',
  },
}
SCSS
$custom: #af9930;
$custom-light: #cbb66f;
$custom-dark: #000000;
JSON
{
  "hex": "#af9930",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 48
  },
  "hsl": {
    "h": 49.606,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68364,
    "c": 0.12339,
    "h": 97
  },
  "luminance": 0.3211
}

Semantic roles & 50–950 ramp

primary
#AF9930
secondary
#7684C4
accent
#62E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9930

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

Preview Lab → · Contrast checker → · Palette generator →

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