#917D23#917D23

#917D23 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.2% C 0.108 H 96.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#917D23
RGBrgb(145, 125, 35)
HSLhsl(49, 61%, 35%)
HSVhsv(49, 76%, 57%)
CMYKcmyk(0%, 13.8%, 75.9%, 43.1%)
CIE-LABlab(52.74, -2.33, 48.92)
CIE-LCHlch(52.74, 48.97, 92.73°)
OKLaboklab(59.18% -0.0115 0.1078)
OKLCHoklch(59.18% 0.108 96.1)
XYZxyz(19.3150, 20.8094, 4.5890)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917D23 #233791
analogous
#914623 #917D23 #6E9123
triadic
#917D23 #23917D #7D2391
tetradic
#917D23 #239146 #233791 #91236E
square
#917D23 #239146 #233791 #91236E
split-complementary
#917D23 #236E91 #462391
monochromatic
#2E280B #605217 #917D23 #C2A72F #D7C058

Accessibility & contrast

On white

4.07
#917D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#917D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917D23
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917D23#FFFFFF#000000##000000
##917D231.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A13
Deuteranopia (green-blind)
#8F8129
Tritanopia (blue-blind)
#9D736B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #917d23;
/* rgb */ color: rgb(145, 125, 35);
/* oklch */ color: oklch(59.2% 0.108 96.1);
Tailwind
colors: {
  custom: {
    50: '#b5a265',
    500: '#917d23',
    950: '#000000',
  },
}
SCSS
$custom: #917d23;
$custom-light: #b5a265;
$custom-dark: #000000;
JSON
{
  "hex": "#917d23",
  "rgb": {
    "r": 145,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 49.091,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59183,
    "c": 0.1084,
    "h": 96.1
  },
  "luminance": 0.20808
}

Semantic roles & 50–950 ramp

primary
#917D23
secondary
#5567BB
accent
#61E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #917D23

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

Preview Lab → · Contrast checker → · Palette generator →

#917D23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva