#A28727#A28727

#A28727 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 63.1% C 0.115 H 92.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A28727
RGBrgb(162, 135, 39)
HSLhsl(47, 61%, 39%)
HSVhsv(47, 76%, 64%)
CMYKcmyk(0%, 16.7%, 75.9%, 36.5%)
CIE-LABlab(57.23, 0.09, 52.26)
CIE-LCHlch(57.23, 52.26, 89.90°)
OKLaboklab(63.14% -0.0051 0.115)
OKLCHoklch(63.14% 0.115 92.6)
XYZxyz(23.9318, 25.1572, 5.5144)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28727 #2742A2
analogous
#A24927 #A28727 #80A227
triadic
#A28727 #27A287 #8727A2
tetradic
#A28727 #27A249 #2742A2 #A22780
square
#A28727 #27A249 #2742A2 #A22780
split-complementary
#A28727 #2780A2 #4927A2
monochromatic
#3F350F #715E1B #A28727 #CFAE37 #DBC269

Accessibility & contrast

On white

3.48
#A28727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#A28727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28727
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28727#FFFFFF#000000##000000
##A287271.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968516
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#AF7C74
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a28727;
/* rgb */ color: rgb(162, 135, 39);
/* oklch */ color: oklch(63.1% 0.115 92.6);
Tailwind
colors: {
  custom: {
    50: '#c1a968',
    500: '#a28727',
    950: '#000000',
  },
}
SCSS
$custom: #a28727;
$custom-light: #c1a968;
$custom-dark: #000000;
JSON
{
  "hex": "#a28727",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 46.829,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63139,
    "c": 0.11508,
    "h": 92.6
  },
  "luminance": 0.25156
}

Semantic roles & 50–950 ramp

primary
#A28727
secondary
#6478C1
accent
#67E443
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A28727

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

Preview Lab → · Contrast checker → · Palette generator →

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