#AF9934#AF9934

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

Color values

HEX#AF9934
RGBrgb(175, 153, 52)
HSLhsl(49, 54%, 45%)
HSVhsv(49, 70%, 69%)
CMYKcmyk(0%, 12.6%, 70.3%, 31.4%)
CIE-LABlab(63.46, -3.25, 53.63)
CIE-LCHlch(63.46, 53.73, 93.47°)
OKLaboklab(68.4% -0.014 0.1199)
OKLCHoklch(68.4% 0.121 96.7)
XYZxyz(29.6917, 32.1459, 7.8890)
Luminance0.3214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9934 #344AAF
analogous
#AF5B34 #AF9934 #88AF34
triadic
#AF9934 #34AF99 #9934AF
tetradic
#AF9934 #34AF5B #344AAF #AF3488
square
#AF9934 #34AF5B #344AAF #AF3488
split-complementary
#AF9934 #3488AF #5B34AF
monochromatic
#514718 #807026 #AF9934 #CCB754 #DACB83

Accessibility & contrast

On white

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

On black

7.43
#AF9934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9934
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9934#FFFFFF#000000##000000
##AF99341.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89626
Deuteranopia (green-blind)
#AE9D3A
Tritanopia (blue-blind)
#BD8D85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af9934;
/* rgb */ color: rgb(175, 153, 52);
/* oklch */ color: oklch(68.4% 0.121 96.7);
Tailwind
colors: {
  custom: {
    50: '#cab671',
    500: '#af9934',
    950: '#000000',
  },
}
SCSS
$custom: #af9934;
$custom-light: #cab671;
$custom-dark: #000000;
JSON
{
  "hex": "#af9934",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 52
  },
  "hsl": {
    "h": 49.268,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68396,
    "c": 0.12067,
    "h": 96.7
  },
  "luminance": 0.32144
}

Semantic roles & 50–950 ramp

primary
#AF9934
secondary
#7B88C4
accent
#65DE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9934

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

Preview Lab → · Contrast checker → · Palette generator →

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