#957A18#957A18

#957A18 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.9% C 0.113 H 92.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#957A18
RGBrgb(149, 122, 24)
HSLhsl(47, 72%, 34%)
HSVhsv(47, 84%, 58%)
CMYKcmyk(0%, 18.1%, 83.9%, 41.6%)
CIE-LABlab(52.26, 0.77, 52.51)
CIE-LCHlch(52.26, 52.51, 89.15°)
OKLaboklab(58.88% -0.004 0.1129)
OKLCHoklch(58.88% 0.113 92)
XYZxyz(19.5200, 20.3758, 3.7688)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#957A18 #183395
analogous
#953C18 #957A18 #729518
triadic
#957A18 #18957A #7A1895
tetradic
#957A18 #18953C #183395 #951872
square
#957A18 #18953C #183395 #951872
split-complementary
#957A18 #187295 #3C1895
monochromatic
#2C2407 #604F10 #957A18 #CAA520 #E1C046

Accessibility & contrast

On white

4.14
#957A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#957A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #957A18
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##957A18#FFFFFF#000000##000000
##957A181.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8F801F
Tritanopia (blue-blind)
#A26F68
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #957a18;
/* rgb */ color: rgb(149, 122, 24);
/* oklch */ color: oklch(58.9% 0.113 92.0);
Tailwind
colors: {
  custom: {
    50: '#b8a05f',
    500: '#957a18',
    950: '#000000',
  },
}
SCSS
$custom: #957a18;
$custom-light: #b8a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#957a18",
  "rgb": {
    "r": 149,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 47.04,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58879,
    "c": 0.113,
    "h": 92
  },
  "luminance": 0.20375
}

Semantic roles & 50–950 ramp

primary
#957A18
secondary
#4661C2
accent
#60EF39
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #957A18

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

Preview Lab → · Contrast checker → · Palette generator →

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