#A29838#A29838

#A29838 is a light, moderate yellow. Relative luminance 0.304; OKLCH L 67.0% C 0.117 H 103.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A29838
RGBrgb(162, 152, 56)
HSLhsl(54, 49%, 43%)
HSVhsv(54, 65%, 64%)
CMYKcmyk(0%, 6.2%, 65.4%, 36.5%)
CIE-LABlab(62.02, -8.24, 50.06)
CIE-LCHlch(62.02, 50.73, 99.35°)
OKLaboklab(66.97% -0.0269 0.1134)
OKLCHoklch(66.97% 0.117 103.4)
XYZxyz(26.8434, 30.4244, 8.1991)
Luminance0.3042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A29838 #3842A2
analogous
#A26338 #A29838 #77A238
triadic
#A29838 #38A298 #9838A2
tetradic
#A29838 #38A263 #3842A2 #A23877
square
#A29838 #38A263 #3842A2 #A23877
split-complementary
#A29838 #3877A2 #6338A2
monochromatic
#474319 #756D28 #A29838 #C4B953 #D3CC81

Accessibility & contrast

On white

2.96
#A29838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#A29838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A29838
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A29838#FFFFFF#000000##000000
##A298381.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5932C
Deuteranopia (green-blind)
#A8983E
Tritanopia (blue-blind)
#AE8E84
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a29838;
/* rgb */ color: rgb(162, 152, 56);
/* oklch */ color: oklch(67.0% 0.117 103.4);
Tailwind
colors: {
  custom: {
    50: '#c0b673',
    500: '#a29838',
    950: '#000000',
  },
}
SCSS
$custom: #a29838;
$custom-light: #c0b673;
$custom-dark: #000000;
JSON
{
  "hex": "#a29838",
  "rgb": {
    "r": 162,
    "g": 152,
    "b": 56
  },
  "hsl": {
    "h": 54.34,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66975,
    "c": 0.11657,
    "h": 103.4
  },
  "luminance": 0.30423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A29838

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

Preview Lab → · Contrast checker → · Palette generator →

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