#A28F2F#A28F2F

#A28F2F is a light, moderate yellow. Relative luminance 0.275; OKLCH L 64.9% C 0.115 H 97.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A28F2F
RGBrgb(162, 143, 47)
HSLhsl(50, 55%, 41%)
HSVhsv(50, 71%, 64%)
CMYKcmyk(0%, 11.7%, 71%, 36.5%)
CIE-LABlab(59.46, -3.91, 51.25)
CIE-LCHlch(59.46, 51.40, 94.36°)
OKLaboklab(64.93% -0.0156 0.1144)
OKLCHoklch(64.93% 0.115 97.8)
XYZxyz(25.2370, 27.5328, 6.6738)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28F2F #2F42A2
analogous
#A2552F #A28F2F #7BA22F
triadic
#A28F2F #2FA28F #8F2FA2
tetradic
#A28F2F #2FA255 #2F42A2 #A22F7B
square
#A28F2F #2FA255 #2F42A2 #A22F7B
split-complementary
#A28F2F #2F7BA2 #552FA2
monochromatic
#433B13 #736521 #A28F2F #C9B345 #D7C775

Accessibility & contrast

On white

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

On black

6.51
#A28F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28F2F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28F2F#FFFFFF#000000##000000
##A28F2F1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B21
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#AF847C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a28f2f;
/* rgb */ color: rgb(162, 143, 47);
/* oklch */ color: oklch(64.9% 0.115 97.8);
Tailwind
colors: {
  custom: {
    50: '#c1af6d',
    500: '#a28f2f',
    950: '#000000',
  },
}
SCSS
$custom: #a28f2f;
$custom-light: #c1af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a28f2f",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 50.087,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64925,
    "c": 0.11547,
    "h": 97.8
  },
  "luminance": 0.27532
}

Semantic roles & 50–950 ramp

primary
#A28F2F
secondary
#6E7BBF
accent
#62DE49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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