#A78E2F#A78E2F

#A78E2F is a light, moderate yellow. Relative luminance 0.278; OKLCH L 65.2% C 0.115 H 94.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A78E2F
RGBrgb(167, 142, 47)
HSLhsl(48, 56%, 42%)
HSVhsv(48, 72%, 65%)
CMYKcmyk(0%, 15%, 71.9%, 34.5%)
CIE-LABlab(59.68, -1.11, 51.63)
CIE-LCHlch(59.68, 51.64, 91.23°)
OKLaboklab(65.21% -0.008 0.115)
OKLCHoklch(65.21% 0.115 94)
XYZxyz(26.1238, 27.7682, 6.6726)
Luminance0.2777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78E2F #2F48A7
analogous
#A7522F #A78E2F #84A72F
triadic
#A78E2F #2FA78E #8E2FA7
tetradic
#A78E2F #2FA752 #2F48A7 #A72F84
square
#A78E2F #2FA752 #2F48A7 #A72F84
split-complementary
#A78E2F #2F84A7 #522FA7
monochromatic
#473D14 #776522 #A78E2F #CBB048 #D9C578

Accessibility & contrast

On white

3.20
#A78E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#A78E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78E2F
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78E2F#FFFFFF#000000##000000
##A78E2F1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B21
Deuteranopia (green-blind)
#A39334
Tritanopia (blue-blind)
#B5837B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a78e2f;
/* rgb */ color: rgb(167, 142, 47);
/* oklch */ color: oklch(65.2% 0.115 94.0);
Tailwind
colors: {
  custom: {
    50: '#c5ae6d',
    500: '#a78e2f',
    950: '#000000',
  },
}
SCSS
$custom: #a78e2f;
$custom-light: #c5ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a78e2f",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 47.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65209,
    "c": 0.11528,
    "h": 94
  },
  "luminance": 0.27767
}

Semantic roles & 50–950 ramp

primary
#A78E2F
secondary
#7182C1
accent
#68DF48
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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