#AF9A33#AF9A33

#AF9A33 is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.6% C 0.122 H 97.4°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#AF9A33
RGBrgb(175, 154, 51)
HSLhsl(50, 55%, 44%)
HSVhsv(50, 71%, 69%)
CMYKcmyk(0%, 12%, 70.9%, 31.4%)
CIE-LABlab(63.73, -3.84, 54.30)
CIE-LCHlch(63.73, 54.44, 94.05°)
OKLaboklab(68.6% -0.0158 0.1211)
OKLCHoklch(68.6% 0.122 97.4)
XYZxyz(29.8338, 32.4657, 7.8264)
Luminance0.3246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9A33 #3348AF
analogous
#AF5C33 #AF9A33 #86AF33
triadic
#AF9A33 #33AF9A #9A33AF
tetradic
#AF9A33 #33AF5C #3348AF #AF3386
square
#AF9A33 #33AF5C #3348AF #AF3386
split-complementary
#AF9A33 #3386AF #5C33AF
monochromatic
#504717 #807025 #AF9A33 #CDB852 #DBCC82

Accessibility & contrast

On white

2.80
#AF9A33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#AF9A33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9A33
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9A33#FFFFFF#000000##000000
##AF9A331.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99624
Deuteranopia (green-blind)
#AF9D39
Tritanopia (blue-blind)
#BD8E85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af9a33;
/* rgb */ color: rgb(175, 154, 51);
/* oklch */ color: oklch(68.6% 0.122 97.4);
Tailwind
colors: {
  custom: {
    50: '#cab771',
    500: '#af9a33',
    950: '#000000',
  },
}
SCSS
$custom: #af9a33;
$custom-light: #cab771;
$custom-dark: #000000;
JSON
{
  "hex": "#af9a33",
  "rgb": {
    "r": 175,
    "g": 154,
    "b": 51
  },
  "hsl": {
    "h": 49.839,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68601,
    "c": 0.12213,
    "h": 97.4
  },
  "luminance": 0.32464
}

Semantic roles & 50–950 ramp

primary
#AF9A33
secondary
#7A86C4
accent
#63DE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9A33

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

Preview Lab → · Contrast checker → · Palette generator →

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