#957D18#957D18

#957D18 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.5% C 0.115 H 94.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#957D18
RGBrgb(149, 125, 24)
HSLhsl(48, 72%, 34%)
HSVhsv(48, 84%, 58%)
CMYKcmyk(0%, 16.1%, 83.9%, 41.6%)
CIE-LABlab(53.08, -0.91, 53.22)
CIE-LCHlch(53.08, 53.23, 90.98°)
OKLaboklab(59.53% -0.0088 0.1145)
OKLCHoklch(59.53% 0.115 94.4)
XYZxyz(19.8941, 21.1239, 3.8935)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#957D18 #183095
analogous
#953F18 #957D18 #6F9518
triadic
#957D18 #18957D #7D1895
tetradic
#957D18 #18953F #183095 #95186F
square
#957D18 #18953F #183095 #95186F
split-complementary
#957D18 #186F95 #3F1895
monochromatic
#2C2507 #605110 #957D18 #CAA920 #E1C346

Accessibility & contrast

On white

4.02
#957D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#957D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #957D18
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##957D18#FFFFFF#000000##000000
##957D181.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#918220
Tritanopia (blue-blind)
#A2726B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #957d18;
/* rgb */ color: rgb(149, 125, 24);
/* oklch */ color: oklch(59.5% 0.115 94.4);
Tailwind
colors: {
  custom: {
    50: '#b8a260',
    500: '#957d18',
    950: '#000000',
  },
}
SCSS
$custom: #957d18;
$custom-light: #b8a260;
$custom-dark: #000000;
JSON
{
  "hex": "#957d18",
  "rgb": {
    "r": 149,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 48.48,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59531,
    "c": 0.11482,
    "h": 94.4
  },
  "luminance": 0.21123
}

Semantic roles & 50–950 ramp

primary
#957D18
secondary
#465EC2
accent
#5CEF39
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120F05
muted
#817E79

Preview Lab

Preview with #957D18

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

Preview Lab → · Contrast checker → · Palette generator →

#957D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva