#957F18#957F18

#957F18 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 60.0% C 0.116 H 95.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#957F18
RGBrgb(149, 127, 24)
HSLhsl(49, 72%, 34%)
HSVhsv(49, 84%, 58%)
CMYKcmyk(0%, 14.8%, 83.9%, 41.6%)
CIE-LABlab(53.64, -2.03, 53.70)
CIE-LCHlch(53.64, 53.74, 92.16°)
OKLaboklab(59.97% -0.0119 0.1155)
OKLCHoklch(59.97% 0.116 95.9)
XYZxyz(20.1498, 21.6354, 3.9787)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#957F18 #182E95
analogous
#954118 #957F18 #6D9518
triadic
#957F18 #18957F #7F1895
tetradic
#957F18 #189541 #182E95 #95186D
square
#957F18 #189541 #182E95 #95186D
split-complementary
#957F18 #186D95 #411895
monochromatic
#2C2507 #605210 #957F18 #CAAC20 #E1C646

Accessibility & contrast

On white

3.94
#957F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#957F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #957F18
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##957F18#FFFFFF#000000##000000
##957F181.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#938320
Tritanopia (blue-blind)
#A2746C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #957f18;
/* rgb */ color: rgb(149, 127, 24);
/* oklch */ color: oklch(60.0% 0.116 95.9);
Tailwind
colors: {
  custom: {
    50: '#b8a360',
    500: '#957f18',
    950: '#000000',
  },
}
SCSS
$custom: #957f18;
$custom-light: #b8a360;
$custom-dark: #000000;
JSON
{
  "hex": "#957f18",
  "rgb": {
    "r": 149,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 49.44,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59969,
    "c": 0.11614,
    "h": 95.9
  },
  "luminance": 0.21634
}

Semantic roles & 50–950 ramp

primary
#957F18
secondary
#465CC2
accent
#59EF39
background
#FBFAF5
surface
#F7F3EA
border
#D0CDC6
text
#120F05
muted
#817F79

Preview Lab

Preview with #957F18

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

Preview Lab → · Contrast checker → · Palette generator →

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