#957F22#957F22

#957F22 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 60.0% C 0.111 H 95.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#957F22
RGBrgb(149, 127, 34)
HSLhsl(49, 63%, 36%)
HSVhsv(49, 77%, 58%)
CMYKcmyk(0%, 14.8%, 77.2%, 41.6%)
CIE-LABlab(53.69, -1.65, 50.35)
CIE-LCHlch(53.69, 50.37, 91.87°)
OKLaboklab(60.03% -0.0099 0.1104)
OKLCHoklch(60.03% 0.111 95.1)
XYZxyz(20.2736, 21.6849, 4.6308)
Luminance0.2168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#957F22 #223895
analogous
#954522 #957F22 #719522
triadic
#957F22 #22957F #7F2295
tetradic
#957F22 #229545 #223895 #952271
square
#957F22 #229545 #223895 #952271
split-complementary
#957F22 #227195 #452295
monochromatic
#312A0B #635517 #957F22 #C7A92D #D9C058

Accessibility & contrast

On white

3.93
#957F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#957F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #957F22
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##957F22#FFFFFF#000000##000000
##957F221.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C11
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#A1756D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #957f22;
/* rgb */ color: rgb(149, 127, 34);
/* oklch */ color: oklch(60.0% 0.111 95.1);
Tailwind
colors: {
  custom: {
    50: '#b8a365',
    500: '#957f22',
    950: '#000000',
  },
}
SCSS
$custom: #957f22;
$custom-light: #b8a365;
$custom-dark: #000000;
JSON
{
  "hex": "#957f22",
  "rgb": {
    "r": 149,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 48.522,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60028,
    "c": 0.11088,
    "h": 95.1
  },
  "luminance": 0.21684
}

Semantic roles & 50–950 ramp

primary
#957F22
secondary
#5669BD
accent
#61E642
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #957F22

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

Preview Lab → · Contrast checker → · Palette generator →

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