#9F942E#9F942E

#9F942E is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.7% C 0.120 H 103.1°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9F942E
RGBrgb(159, 148, 46)
HSLhsl(54, 55%, 40%)
HSVhsv(54, 71%, 62%)
CMYKcmyk(0%, 6.9%, 71.1%, 37.6%)
CIE-LABlab(60.56, -8.01, 52.66)
CIE-LCHlch(60.56, 53.27, 98.65°)
OKLaboklab(65.72% -0.0272 0.1173)
OKLCHoklch(65.72% 0.12 103.1)
XYZxyz(25.3822, 28.7490, 6.7964)
Luminance0.2875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F942E #2E399F
analogous
#9F5B2E #9F942E #729F2E
triadic
#9F942E #2E9F94 #942E9F
tetradic
#9F942E #2E9F5B #2E399F #9F2E72
square
#9F942E #2E9F5B #2E399F #9F2E72
split-complementary
#9F942E #2E729F #5B2E9F
monochromatic
#403C13 #706820 #9F942E #C8BB42 #D6CC71

Accessibility & contrast

On white

3.11
#9F942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#9F942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F942E
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F942E#FFFFFF#000000##000000
##9F942E1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F1E
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#AB8A80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9f942e;
/* rgb */ color: rgb(159, 148, 46);
/* oklch */ color: oklch(65.7% 0.120 103.1);
Tailwind
colors: {
  custom: {
    50: '#bfb36d',
    500: '#9f942e',
    950: '#000000',
  },
}
SCSS
$custom: #9f942e;
$custom-light: #bfb36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f942e",
  "rgb": {
    "r": 159,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 54.159,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65725,
    "c": 0.12042,
    "h": 103.1
  },
  "luminance": 0.28748
}

Semantic roles & 50–950 ramp

primary
#9F942E
secondary
#6B73BE
accent
#58DE49
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F942E

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

Preview Lab → · Contrast checker → · Palette generator →

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