#9A942E#9A942E

#9A942E is a light, vivid yellow. Relative luminance 0.282; OKLCH L 65.3% C 0.121 H 106.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9A942E
RGBrgb(154, 148, 46)
HSLhsl(57, 54%, 39%)
HSVhsv(57, 70%, 60%)
CMYKcmyk(0%, 3.9%, 70.1%, 39.6%)
CIE-LABlab(60.11, -10.25, 52.07)
CIE-LCHlch(60.11, 53.07, 101.14°)
OKLaboklab(65.26% -0.0332 0.1162)
OKLCHoklch(65.26% 0.121 106)
XYZxyz(24.4104, 28.2480, 6.7508)
Luminance0.2825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A942E #2E349A
analogous
#9A5E2E #9A942E #6A9A2E
triadic
#9A942E #2E9A94 #942E9A
tetradic
#9A942E #2E9A5E #2E349A #9A2E6A
square
#9A942E #2E9A5E #2E349A #9A2E6A
split-complementary
#9A942E #2E6A9A #5E2E9A
monochromatic
#3C3912 #6B6720 #9A942E #C6BE3F #D4CE6F

Accessibility & contrast

On white

3.16
#9A942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#9A942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A942E
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A942E#FFFFFF#000000##000000
##9A942E1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E1E
Deuteranopia (green-blind)
#A39335
Tritanopia (blue-blind)
#A58A80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9a942e;
/* rgb */ color: rgb(154, 148, 46);
/* oklch */ color: oklch(65.3% 0.121 106.0);
Tailwind
colors: {
  custom: {
    50: '#bbb36d',
    500: '#9a942e',
    950: '#000000',
  },
}
SCSS
$custom: #9a942e;
$custom-light: #bbb36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a942e",
  "rgb": {
    "r": 154,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 56.667,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65262,
    "c": 0.12088,
    "h": 106
  },
  "luminance": 0.28247
}

Semantic roles & 50–950 ramp

primary
#9A942E
secondary
#696DBB
accent
#53DD4A
background
#FBFAF6
surface
#F7F5EC
border
#D0CFC7
text
#121107
muted
#81807A

Preview Lab

Preview with #9A942E

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

Preview Lab → · Contrast checker → · Palette generator →

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