#A28F27#A28F27

#A28F27 is a light, vivid yellow. Relative luminance 0.275; OKLCH L 64.9% C 0.121 H 98.4°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A28F27
RGBrgb(162, 143, 39)
HSLhsl(51, 61%, 39%)
HSVhsv(51, 76%, 64%)
CMYKcmyk(0%, 11.7%, 75.9%, 36.5%)
CIE-LABlab(59.41, -4.30, 54.33)
CIE-LCHlch(59.41, 54.50, 94.53°)
OKLaboklab(64.86% -0.0176 0.1194)
OKLCHoklch(64.86% 0.121 98.4)
XYZxyz(25.0902, 27.4741, 5.9005)
Luminance0.2747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28F27 #273AA2
analogous
#A25227 #A28F27 #78A227
triadic
#A28F27 #27A28F #8F27A2
tetradic
#A28F27 #27A252 #273AA2 #A22778
square
#A28F27 #27A252 #273AA2 #A22778
split-complementary
#A28F27 #2778A2 #5227A2
monochromatic
#3F380F #71631B #A28F27 #CFB737 #DBC969

Accessibility & contrast

On white

3.23
#A28F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#A28F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28F27
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28F27#FFFFFF#000000##000000
##A28F271.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B13
Deuteranopia (green-blind)
#A3922E
Tritanopia (blue-blind)
#AF847B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a28f27;
/* rgb */ color: rgb(162, 143, 39);
/* oklch */ color: oklch(64.9% 0.121 98.4);
Tailwind
colors: {
  custom: {
    50: '#c1af69',
    500: '#a28f27',
    950: '#000000',
  },
}
SCSS
$custom: #a28f27;
$custom-light: #c1af69;
$custom-dark: #000000;
JSON
{
  "hex": "#a28f27",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 50.732,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64865,
    "c": 0.12068,
    "h": 98.4
  },
  "luminance": 0.27473
}

Semantic roles & 50–950 ramp

primary
#A28F27
secondary
#6472C1
accent
#5CE443
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28F27

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

Preview Lab → · Contrast checker → · Palette generator →

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