#A28D27#A28D27

#A28D27 is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.4% C 0.119 H 97.0°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A28D27
RGBrgb(162, 141, 39)
HSLhsl(50, 61%, 39%)
HSVhsv(50, 76%, 64%)
CMYKcmyk(0%, 13%, 75.9%, 36.5%)
CIE-LABlab(58.86, -3.21, 53.81)
CIE-LCHlch(58.86, 53.91, 93.41°)
OKLaboklab(64.43% -0.0145 0.1183)
OKLCHoklch(64.43% 0.119 97)
XYZxyz(24.7927, 26.8789, 5.8013)
Luminance0.2688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28D27 #273CA2
analogous
#A25027 #A28D27 #7AA227
triadic
#A28D27 #27A28D #8D27A2
tetradic
#A28D27 #27A250 #273CA2 #A2277A
square
#A28D27 #27A250 #273CA2 #A2277A
split-complementary
#A28D27 #277AA2 #5027A2
monochromatic
#3F370F #71621B #A28D27 #CFB537 #DBC769

Accessibility & contrast

On white

3.29
#A28D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#A28D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28D27
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28D27#FFFFFF#000000##000000
##A28D271.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A14
Deuteranopia (green-blind)
#A1912E
Tritanopia (blue-blind)
#AF8279
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a28d27;
/* rgb */ color: rgb(162, 141, 39);
/* oklch */ color: oklch(64.4% 0.119 97.0);
Tailwind
colors: {
  custom: {
    50: '#c1ae69',
    500: '#a28d27',
    950: '#000000',
  },
}
SCSS
$custom: #a28d27;
$custom-light: #c1ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#a28d27",
  "rgb": {
    "r": 162,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 49.756,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64431,
    "c": 0.11916,
    "h": 97
  },
  "luminance": 0.26878
}

Semantic roles & 50–950 ramp

primary
#A28D27
secondary
#6474C1
accent
#5FE443
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28D27

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

Preview Lab → · Contrast checker → · Palette generator →

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