#A08F21#A08F21

#A08F21 is a light, vivid yellow. Relative luminance 0.272; OKLCH L 64.6% C 0.124 H 99.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A08F21
RGBrgb(160, 143, 33)
HSLhsl(52, 66%, 38%)
HSVhsv(52, 79%, 63%)
CMYKcmyk(0%, 10.6%, 79.4%, 37.3%)
CIE-LABlab(59.19, -5.46, 56.16)
CIE-LCHlch(59.19, 56.42, 95.55°)
OKLaboklab(64.63% -0.0214 0.1221)
OKLCHoklch(64.63% 0.124 99.9)
XYZxyz(24.5954, 27.2295, 5.3989)
Luminance0.2723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A08F21 #2132A0
analogous
#A05021 #A08F21 #71A021
triadic
#A08F21 #21A08F #8F21A0
tetradic
#A08F21 #21A050 #2132A0 #A02171
square
#A08F21 #21A050 #2132A0 #A02171
split-complementary
#A08F21 #2171A0 #5021A0
monochromatic
#3B340C #6D6217 #A08F21 #D3BC2B #DECD5E

Accessibility & contrast

On white

3.26
#A08F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#A08F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A08F21
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A08F21#FFFFFF#000000##000000
##A08F211.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B05
Deuteranopia (green-blind)
#A29129
Tritanopia (blue-blind)
#AD847A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a08f21;
/* rgb */ color: rgb(160, 143, 33);
/* oklch */ color: oklch(64.6% 0.124 99.9);
Tailwind
colors: {
  custom: {
    50: '#c0af66',
    500: '#a08f21',
    950: '#000000',
  },
}
SCSS
$custom: #a08f21;
$custom-light: #c0af66;
$custom-dark: #000000;
JSON
{
  "hex": "#a08f21",
  "rgb": {
    "r": 160,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 51.969,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64632,
    "c": 0.124,
    "h": 99.9
  },
  "luminance": 0.27228
}

Semantic roles & 50–950 ramp

primary
#A08F21
secondary
#5B68C2
accent
#56E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A08F21

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

Preview Lab → · Contrast checker → · Palette generator →

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