#9F8124#9F8124

#9F8124 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.5% C 0.113 H 90.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9F8124
RGBrgb(159, 129, 36)
HSLhsl(45, 63%, 38%)
HSVhsv(45, 77%, 62%)
CMYKcmyk(0%, 18.9%, 77.4%, 37.6%)
CIE-LABlab(55.28, 1.92, 51.45)
CIE-LCHlch(55.28, 51.48, 87.86°)
OKLaboklab(61.52% -0.0001 0.1128)
OKLCHoklch(61.52% 0.113 90)
XYZxyz(22.4681, 23.2003, 4.9634)
Luminance0.2320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8124 #24429F
analogous
#9F4324 #9F8124 #7F9F24
triadic
#9F8124 #249F81 #81249F
tetradic
#9F8124 #249F43 #24429F #9F247F
square
#9F8124 #249F43 #24429F #9F247F
split-complementary
#9F8124 #247F9F #43249F
monochromatic
#3B300D #6D5919 #9F8124 #D0A930 #DBBE62

Accessibility & contrast

On white

3.72
#9F8124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#9F8124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8124
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8124#FFFFFF#000000##000000
##9F81241.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908013
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#AD766F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9f8124;
/* rgb */ color: rgb(159, 129, 36);
/* oklch */ color: oklch(61.5% 0.113 90.0);
Tailwind
colors: {
  custom: {
    50: '#bfa566',
    500: '#9f8124',
    950: '#000000',
  },
}
SCSS
$custom: #9f8124;
$custom-light: #bfa566;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8124",
  "rgb": {
    "r": 159,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 45.366,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61523,
    "c": 0.11275,
    "h": 90
  },
  "luminance": 0.23199
}

Semantic roles & 50–950 ramp

primary
#9F8124
secondary
#5E76C1
accent
#6AE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F8124

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

Preview Lab → · Contrast checker → · Palette generator →

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