#A18A23#A18A23

#A18A23 is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.7% C 0.119 H 95.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A18A23
RGBrgb(161, 138, 35)
HSLhsl(49, 64%, 38%)
HSVhsv(49, 78%, 63%)
CMYKcmyk(0%, 14.3%, 78.3%, 36.9%)
CIE-LABlab(57.92, -2.19, 54.35)
CIE-LCHlch(57.92, 54.40, 92.31°)
OKLaboklab(63.65% -0.012 0.1186)
OKLCHoklch(63.65% 0.119 95.8)
XYZxyz(24.0911, 25.8767, 5.3156)
Luminance0.2587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18A23 #233AA1
analogous
#A14B23 #A18A23 #79A123
triadic
#A18A23 #23A18A #8A23A1
tetradic
#A18A23 #23A14B #233AA1 #A12379
square
#A18A23 #23A14B #233AA1 #A12379
split-complementary
#A18A23 #2379A1 #4B23A1
monochromatic
#3C340D #6F5F18 #A18A23 #D2B42F #DDC662

Accessibility & contrast

On white

3.40
#A18A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#A18A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18A23
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18A23#FFFFFF#000000##000000
##A18A231.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870D
Deuteranopia (green-blind)
#9F8E2A
Tritanopia (blue-blind)
#AE7F76
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a18a23;
/* rgb */ color: rgb(161, 138, 35);
/* oklch */ color: oklch(63.7% 0.119 95.8);
Tailwind
colors: {
  custom: {
    50: '#c1ab67',
    500: '#a18a23',
    950: '#000000',
  },
}
SCSS
$custom: #a18a23;
$custom-light: #c1ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#a18a23",
  "rgb": {
    "r": 161,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 49.048,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63654,
    "c": 0.11925,
    "h": 95.8
  },
  "luminance": 0.25875
}

Semantic roles & 50–950 ramp

primary
#A18A23
secondary
#5E70C2
accent
#5FE741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18A23

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

Preview Lab → · Contrast checker → · Palette generator →

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