#957E18#957E18

#957E18 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.8% C 0.115 H 95.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#957E18
RGBrgb(149, 126, 24)
HSLhsl(49, 72%, 34%)
HSVhsv(49, 84%, 58%)
CMYKcmyk(0%, 15.4%, 83.9%, 41.6%)
CIE-LABlab(53.36, -1.47, 53.46)
CIE-LCHlch(53.36, 53.48, 91.58°)
OKLaboklab(59.75% -0.0104 0.115)
OKLCHoklch(59.75% 0.115 95.2)
XYZxyz(20.0213, 21.3784, 3.9359)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#957E18 #182F95
analogous
#954018 #957E18 #6E9518
triadic
#957E18 #18957E #7E1895
tetradic
#957E18 #189540 #182F95 #95186E
square
#957E18 #189540 #182F95 #95186E
split-complementary
#957E18 #186E95 #401895
monochromatic
#2C2507 #605110 #957E18 #CAAB20 #E1C546

Accessibility & contrast

On white

3.98
#957E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#957E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #957E18
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##957E18#FFFFFF#000000##000000
##957E181.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#928220
Tritanopia (blue-blind)
#A2736B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #957e18;
/* rgb */ color: rgb(149, 126, 24);
/* oklch */ color: oklch(59.8% 0.115 95.2);
Tailwind
colors: {
  custom: {
    50: '#b8a360',
    500: '#957e18',
    950: '#000000',
  },
}
SCSS
$custom: #957e18;
$custom-light: #b8a360;
$custom-dark: #000000;
JSON
{
  "hex": "#957e18",
  "rgb": {
    "r": 149,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 48.96,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5975,
    "c": 0.11547,
    "h": 95.2
  },
  "luminance": 0.21377
}

Semantic roles & 50–950 ramp

primary
#957E18
secondary
#465DC2
accent
#5AEF39
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120F05
muted
#817E79

Preview Lab

Preview with #957E18

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

Preview Lab → · Contrast checker → · Palette generator →

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