#AF9A30#AF9A30

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

Color values

HEX#AF9A30
RGBrgb(175, 154, 48)
HSLhsl(50, 57%, 44%)
HSVhsv(50, 73%, 69%)
CMYKcmyk(0%, 12%, 72.6%, 31.4%)
CIE-LABlab(63.70, -4.00, 55.48)
CIE-LCHlch(63.70, 55.62, 94.12°)
OKLaboklab(68.58% -0.0166 0.123)
OKLCHoklch(68.58% 0.124 97.7)
XYZxyz(29.7698, 32.4401, 7.4892)
Luminance0.3244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9A30 #3045AF
analogous
#AF5A30 #AF9A30 #84AF30
triadic
#AF9A30 #30AF9A #9A30AF
tetradic
#AF9A30 #30AF5A #3045AF #AF3084
square
#AF9A30 #30AF5A #3045AF #AF3084
split-complementary
#AF9A30 #3084AF #5A30AF
monochromatic
#4F4516 #7F7023 #AF9A30 #CEB94E #DCCC7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9A30#FFFFFF#000000##000000
##AF9A301.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)
#AA961F
Deuteranopia (green-blind)
#AF9D36
Tritanopia (blue-blind)
#BD8E85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af9a30;
/* rgb */ color: rgb(175, 154, 48);
/* oklch */ color: oklch(68.6% 0.124 97.7);
Tailwind
colors: {
  custom: {
    50: '#cbb76f',
    500: '#af9a30',
    950: '#000000',
  },
}
SCSS
$custom: #af9a30;
$custom-light: #cbb76f;
$custom-dark: #000000;
JSON
{
  "hex": "#af9a30",
  "rgb": {
    "r": 175,
    "g": 154,
    "b": 48
  },
  "hsl": {
    "h": 50.079,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68578,
    "c": 0.12414,
    "h": 97.7
  },
  "luminance": 0.32439
}

Semantic roles & 50–950 ramp

primary
#AF9A30
secondary
#7683C4
accent
#61E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9A30

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

Preview Lab → · Contrast checker → · Palette generator →

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