#9A812E#9A812E

#9A812E is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.1% C 0.105 H 92.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9A812E
RGBrgb(154, 129, 46)
HSLhsl(46, 54%, 39%)
HSVhsv(46, 70%, 60%)
CMYKcmyk(0%, 16.2%, 70.1%, 39.6%)
CIE-LABlab(54.83, 0.14, 46.71)
CIE-LCHlch(54.83, 46.71, 89.83°)
OKLaboklab(61.08% -0.0037 0.1049)
OKLCHoklch(61.08% 0.105 92)
XYZxyz(21.6710, 22.7690, 5.8377)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A812E #2E479A
analogous
#9A4B2E #9A812E #7D9A2E
triadic
#9A812E #2E9A81 #812E9A
tetradic
#9A812E #2E9A4B #2E479A #9A2E7D
square
#9A812E #2E9A4B #2E479A #9A2E7D
split-complementary
#9A812E #2E7D9A #4B2E9A
monochromatic
#3C3212 #6B5A20 #9A812E #C6A73F #D4BC6F

Accessibility & contrast

On white

3.78
#9A812E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#9A812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A812E
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A812E#FFFFFF#000000##000000
##9A812E1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#958632
Tritanopia (blue-blind)
#A77770
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9a812e;
/* rgb */ color: rgb(154, 129, 46);
/* oklch */ color: oklch(61.1% 0.105 92.0);
Tailwind
colors: {
  custom: {
    50: '#bba56b',
    500: '#9a812e',
    950: '#000000',
  },
}
SCSS
$custom: #9a812e;
$custom-light: #bba56b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a812e",
  "rgb": {
    "r": 154,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 46.111,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61076,
    "c": 0.10495,
    "h": 92
  },
  "luminance": 0.22768
}

Semantic roles & 50–950 ramp

primary
#9A812E
secondary
#697CBB
accent
#6CDD4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9A812E

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

Preview Lab → · Contrast checker → · Palette generator →

#9A812E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva