#918E2D#918E2D

#918E2D is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.1% C 0.117 H 107.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#918E2D
RGBrgb(145, 142, 45)
HSLhsl(58, 53%, 37%)
HSVhsv(58, 69%, 57%)
CMYKcmyk(0%, 2.1%, 69%, 43.1%)
CIE-LABlab(57.61, -11.12, 49.71)
CIE-LCHlch(57.61, 50.94, 102.61°)
OKLaboklab(63.08% -0.0353 0.1114)
OKLCHoklch(63.08% 0.117 107.6)
XYZxyz(21.8245, 25.5559, 6.2653)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918E2D #2D3091
analogous
#915C2D #918E2D #62912D
triadic
#918E2D #2D918E #8E2D91
tetradic
#918E2D #2D915C #2D3091 #912D62
square
#918E2D #2D915C #2D3091 #912D62
split-complementary
#918E2D #2D6291 #5C2D91
monochromatic
#343310 #62601F #918E2D #C0BC3B #D0CD68

Accessibility & contrast

On white

3.44
#918E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#918E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918E2D
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918E2D#FFFFFF#000000##000000
##918E2D1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881F
Deuteranopia (green-blind)
#9C8C33
Tritanopia (blue-blind)
#9B857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #918e2d;
/* rgb */ color: rgb(145, 142, 45);
/* oklch */ color: oklch(63.1% 0.117 107.6);
Tailwind
colors: {
  custom: {
    50: '#b4ae6c',
    500: '#918e2d',
    950: '#000000',
  },
}
SCSS
$custom: #918e2d;
$custom-light: #b4ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#918e2d",
  "rgb": {
    "r": 145,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 58.2,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63077,
    "c": 0.11681,
    "h": 107.6
  },
  "luminance": 0.25555
}

Semantic roles & 50–950 ramp

primary
#918E2D
secondary
#6365B7
accent
#50DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #918E2D

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

Preview Lab → · Contrast checker → · Palette generator →

#918E2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva