#A29938#A29938

#A29938 is a light, moderate yellow. Relative luminance 0.307; OKLCH L 67.2% C 0.118 H 104.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#A29938
RGBrgb(162, 153, 56)
HSLhsl(55, 49%, 43%)
HSVhsv(55, 65%, 64%)
CMYKcmyk(0%, 5.6%, 65.4%, 36.5%)
CIE-LABlab(62.30, -8.77, 50.35)
CIE-LCHlch(62.30, 51.11, 99.89°)
OKLaboklab(67.2% -0.0284 0.114)
OKLCHoklch(67.2% 0.118 104)
XYZxyz(27.0064, 30.7504, 8.2535)
Luminance0.3075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A29938 #3841A2
analogous
#A26438 #A29938 #76A238
triadic
#A29938 #38A299 #9938A2
tetradic
#A29938 #38A264 #3841A2 #A23876
square
#A29938 #38A264 #3841A2 #A23876
split-complementary
#A29938 #3876A2 #6438A2
monochromatic
#474319 #756E28 #A29938 #C4BA53 #D3CC81

Accessibility & contrast

On white

2.94
#A29938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#A29938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A29938
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A29938#FFFFFF#000000##000000
##A299381.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6942C
Deuteranopia (green-blind)
#A9993E
Tritanopia (blue-blind)
#AE8F85
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a29938;
/* rgb */ color: rgb(162, 153, 56);
/* oklch */ color: oklch(67.2% 0.118 104.0);
Tailwind
colors: {
  custom: {
    50: '#c0b674',
    500: '#a29938',
    950: '#000000',
  },
}
SCSS
$custom: #a29938;
$custom-light: #c0b674;
$custom-dark: #000000;
JSON
{
  "hex": "#a29938",
  "rgb": {
    "r": 162,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 54.906,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67195,
    "c": 0.11753,
    "h": 104
  },
  "luminance": 0.30749
}

Semantic roles & 50–950 ramp

primary
#A29938
secondary
#797FBD
accent
#5BD850
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A29938

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

Preview Lab → · Contrast checker → · Palette generator →

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