#A28F25#A28F25

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

Color values

HEX#A28F25
RGBrgb(162, 143, 37)
HSLhsl(51, 63%, 39%)
HSVhsv(51, 77%, 64%)
CMYKcmyk(0%, 11.7%, 77.2%, 36.5%)
CIE-LABlab(59.40, -4.39, 55.05)
CIE-LCHlch(59.40, 55.22, 94.56°)
OKLaboklab(64.85% -0.0181 0.1205)
OKLCHoklch(64.85% 0.122 98.5)
XYZxyz(25.0579, 27.4611, 5.7306)
Luminance0.2746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28F25 #2538A2
analogous
#A25125 #A28F25 #77A225
triadic
#A28F25 #25A28F #8F25A2
tetradic
#A28F25 #25A251 #2538A2 #A22577
square
#A28F25 #25A251 #2538A2 #A22577
split-complementary
#A28F25 #2577A2 #5125A2
monochromatic
#3E370E #70631A #A28F25 #D1B934 #DCCA65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A28F25#FFFFFF#000000##000000
##A28F251.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)
#9E8B0F
Deuteranopia (green-blind)
#A3922C
Tritanopia (blue-blind)
#AF847B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a28f25;
/* rgb */ color: rgb(162, 143, 37);
/* oklch */ color: oklch(64.9% 0.122 98.5);
Tailwind
colors: {
  custom: {
    50: '#c1af68',
    500: '#a28f25',
    950: '#000000',
  },
}
SCSS
$custom: #a28f25;
$custom-light: #c1af68;
$custom-dark: #000000;
JSON
{
  "hex": "#a28f25",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 50.88,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64852,
    "c": 0.12184,
    "h": 98.5
  },
  "luminance": 0.2746
}

Semantic roles & 50–950 ramp

primary
#A28F25
secondary
#6170C2
accent
#5BE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28F25

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

Preview Lab → · Contrast checker → · Palette generator →

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