#A38F2B#A38F2B

#A38F2B is a light, moderate yellow. Relative luminance 0.276; OKLCH L 65.0% C 0.118 H 97.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A38F2B
RGBrgb(163, 143, 43)
HSLhsl(50, 58%, 40%)
HSVhsv(50, 74%, 64%)
CMYKcmyk(0%, 12.3%, 73.6%, 36.1%)
CIE-LABlab(59.53, -3.66, 52.96)
CIE-LCHlch(59.53, 53.09, 93.96°)
OKLaboklab(64.99% -0.0155 0.1172)
OKLCHoklch(64.99% 0.118 97.5)
XYZxyz(25.3640, 27.6072, 6.2778)
Luminance0.2761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38F2B #2B3FA3
analogous
#A3532B #A38F2B #7BA32B
triadic
#A38F2B #2BA38F #8F2BA3
tetradic
#A38F2B #2BA353 #2B3FA3 #A32B7B
square
#A38F2B #2BA353 #2B3FA3 #A32B7B
split-complementary
#A38F2B #2B7BA3 #532BA3
monochromatic
#423A11 #73651E #A38F2B #CCB53F #D9C76F

Accessibility & contrast

On white

3.22
#A38F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#A38F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A38F2B
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38F2B#FFFFFF#000000##000000
##A38F2B1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1B
Deuteranopia (green-blind)
#A39231
Tritanopia (blue-blind)
#B0847B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a38f2b;
/* rgb */ color: rgb(163, 143, 43);
/* oklch */ color: oklch(65.0% 0.118 97.5);
Tailwind
colors: {
  custom: {
    50: '#c2af6b',
    500: '#a38f2b',
    950: '#000000',
  },
}
SCSS
$custom: #a38f2b;
$custom-light: #c2af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a38f2b",
  "rgb": {
    "r": 163,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 50,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64992,
    "c": 0.11824,
    "h": 97.5
  },
  "luminance": 0.27606
}

Semantic roles & 50–950 ramp

primary
#A38F2B
secondary
#6A78C0
accent
#60E146
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A38F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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