#9B942E#9B942E

#9B942E is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.4% C 0.121 H 105.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9B942E
RGBrgb(155, 148, 46)
HSLhsl(56, 54%, 39%)
HSVhsv(56, 70%, 61%)
CMYKcmyk(0%, 4.5%, 70.3%, 39.2%)
CIE-LABlab(60.20, -9.80, 52.19)
CIE-LCHlch(60.20, 53.10, 100.64°)
OKLaboklab(65.35% -0.032 0.1164)
OKLCHoklch(65.35% 0.121 105.4)
XYZxyz(24.6016, 28.3465, 6.7598)
Luminance0.2835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B942E #2E359B
analogous
#9B5E2E #9B942E #6C9B2E
triadic
#9B942E #2E9B94 #942E9B
tetradic
#9B942E #2E9B5E #2E359B #9B2E6C
square
#9B942E #2E9B5E #2E359B #9B2E6C
split-complementary
#9B942E #2E6C9B #5E2E9B
monochromatic
#3D3A12 #6C6720 #9B942E #C6BE40 #D4CE6F

Accessibility & contrast

On white

3.15
#9B942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#9B942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B942E
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B942E#FFFFFF#000000##000000
##9B942E1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F1E
Deuteranopia (green-blind)
#A49335
Tritanopia (blue-blind)
#A78A80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9b942e;
/* rgb */ color: rgb(155, 148, 46);
/* oklch */ color: oklch(65.4% 0.121 105.4);
Tailwind
colors: {
  custom: {
    50: '#bcb36d',
    500: '#9b942e',
    950: '#000000',
  },
}
SCSS
$custom: #9b942e;
$custom-light: #bcb36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b942e",
  "rgb": {
    "r": 155,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 56.147,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65354,
    "c": 0.12076,
    "h": 105.4
  },
  "luminance": 0.28346
}

Semantic roles & 50–950 ramp

primary
#9B942E
secondary
#696EBC
accent
#54DE4A
background
#FBFAF6
surface
#F7F5EC
border
#D0CFC7
text
#121107
muted
#81807A

Preview Lab

Preview with #9B942E

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

Preview Lab → · Contrast checker → · Palette generator →

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