#957B18#957B18

#957B18 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 59.1% C 0.114 H 92.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#957B18
RGBrgb(149, 123, 24)
HSLhsl(48, 72%, 34%)
HSVhsv(48, 84%, 58%)
CMYKcmyk(0%, 17.4%, 83.9%, 41.6%)
CIE-LABlab(52.53, 0.21, 52.75)
CIE-LCHlch(52.53, 52.75, 89.77°)
OKLaboklab(59.1% -0.0056 0.1134)
OKLCHoklch(59.1% 0.114 92.8)
XYZxyz(19.6434, 20.6226, 3.8099)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#957B18 #183295
analogous
#953D18 #957B18 #719518
triadic
#957B18 #18957B #7B1895
tetradic
#957B18 #18953D #183295 #951871
square
#957B18 #18953D #183295 #951871
split-complementary
#957B18 #187195 #3D1895
monochromatic
#2C2407 #604F10 #957B18 #CAA720 #E1C146

Accessibility & contrast

On white

4.10
#957B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#957B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #957B18
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##957B18#FFFFFF#000000##000000
##957B181.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#90811F
Tritanopia (blue-blind)
#A27069
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #957b18;
/* rgb */ color: rgb(149, 123, 24);
/* oklch */ color: oklch(59.1% 0.114 92.8);
Tailwind
colors: {
  custom: {
    50: '#b8a05f',
    500: '#957b18',
    950: '#000000',
  },
}
SCSS
$custom: #957b18;
$custom-light: #b8a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#957b18",
  "rgb": {
    "r": 149,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 47.52,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59096,
    "c": 0.11358,
    "h": 92.8
  },
  "luminance": 0.20621
}

Semantic roles & 50–950 ramp

primary
#957B18
secondary
#4660C2
accent
#5FEF39
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #957B18

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

Preview Lab → · Contrast checker → · Palette generator →

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