#A28F28#A28F28

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

Color values

HEX#A28F28
RGBrgb(162, 143, 40)
HSLhsl(51, 60%, 40%)
HSVhsv(51, 75%, 64%)
CMYKcmyk(0%, 11.7%, 75.3%, 36.5%)
CIE-LABlab(59.42, -4.26, 53.97)
CIE-LCHlch(59.42, 54.14, 94.51°)
OKLaboklab(64.87% -0.0174 0.1188)
OKLCHoklch(64.87% 0.12 98.3)
XYZxyz(25.1070, 27.4808, 5.9889)
Luminance0.2748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28F28 #283BA2
analogous
#A25228 #A28F28 #78A228
triadic
#A28F28 #28A28F #8F28A2
tetradic
#A28F28 #28A252 #283BA2 #A22878
square
#A28F28 #28A252 #283BA2 #A22878
split-complementary
#A28F28 #2878A2 #5228A2
monochromatic
#403810 #71641C #A28F28 #CEB739 #DAC96A

Accessibility & contrast

On white

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

On black

6.50
#A28F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28F28
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28F28#FFFFFF#000000##000000
##A28F281.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a28f28;
/* rgb */ color: rgb(162, 143, 40);
/* oklch */ color: oklch(64.9% 0.120 98.3);
Tailwind
colors: {
  custom: {
    50: '#c1af6a',
    500: '#a28f28',
    950: '#000000',
  },
}
SCSS
$custom: #a28f28;
$custom-light: #c1af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a28f28",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 50.656,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64872,
    "c": 0.12007,
    "h": 98.3
  },
  "luminance": 0.2748
}

Semantic roles & 50–950 ramp

primary
#A28F28
secondary
#6573C1
accent
#5DE444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28F28

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

Preview Lab → · Contrast checker → · Palette generator →

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