#9F9434#9F9434

#9F9434 is a light, moderate yellow. Relative luminance 0.288; OKLCH L 65.8% C 0.116 H 102.7°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9F9434
RGBrgb(159, 148, 52)
HSLhsl(54, 51%, 41%)
HSVhsv(54, 67%, 62%)
CMYKcmyk(0%, 6.9%, 67.3%, 37.6%)
CIE-LABlab(60.60, -7.67, 50.23)
CIE-LCHlch(60.60, 50.81, 98.69°)
OKLaboklab(65.77% -0.0256 0.1132)
OKLCHoklch(65.77% 0.116 102.7)
XYZxyz(25.5088, 28.7997, 7.4634)
Luminance0.2880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9434 #343F9F
analogous
#9F5F34 #9F9434 #759F34
triadic
#9F9434 #349F94 #94349F
tetradic
#9F9434 #349F5F #343F9F #9F3475
square
#9F9434 #349F5F #343F9F #9F3475
split-complementary
#9F9434 #34759F #5F349F
monochromatic
#433E16 #716925 #9F9434 #C4B84C #D3CA7A

Accessibility & contrast

On white

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

On black

6.76
#9F9434 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9434
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9434#FFFFFF#000000##000000
##9F94341.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f9434;
/* rgb */ color: rgb(159, 148, 52);
/* oklch */ color: oklch(65.8% 0.116 102.7);
Tailwind
colors: {
  custom: {
    50: '#beb371',
    500: '#9f9434',
    950: '#000000',
  },
}
SCSS
$custom: #9f9434;
$custom-light: #beb371;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9434",
  "rgb": {
    "r": 159,
    "g": 148,
    "b": 52
  },
  "hsl": {
    "h": 53.832,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65775,
    "c": 0.11606,
    "h": 102.7
  },
  "luminance": 0.28799
}

Semantic roles & 50–950 ramp

primary
#9F9434
secondary
#737ABC
accent
#5CDA4E
background
#FCFAF7
surface
#F8F5ED
border
#D1CFC8
text
#131108
muted
#82807B

Preview Lab

Preview with #9F9434

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

Preview Lab → · Contrast checker → · Palette generator →

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