#918A23#918A23

#918A23 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.1% C 0.119 H 105.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#918A23
RGBrgb(145, 138, 35)
HSLhsl(56, 61%, 35%)
HSVhsv(56, 76%, 57%)
CMYKcmyk(0%, 4.8%, 75.9%, 43.1%)
CIE-LABlab(56.41, -9.49, 52.40)
CIE-LCHlch(56.41, 53.25, 100.26°)
OKLaboklab(62.09% -0.0317 0.1152)
OKLCHoklch(62.09% 0.119 105.4)
XYZxyz(21.0698, 24.3189, 5.1739)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918A23 #232A91
analogous
#915323 #918A23 #619123
triadic
#918A23 #23918A #8A2391
tetradic
#918A23 #239153 #232A91 #912361
square
#918A23 #239153 #232A91 #912361
split-complementary
#918A23 #236191 #532391
monochromatic
#2E2C0B #605B17 #918A23 #C2B92F #D7CF58

Accessibility & contrast

On white

3.58
#918A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#918A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918A23
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918A23#FFFFFF#000000##000000
##918A231.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96850E
Deuteranopia (green-blind)
#99892B
Tritanopia (blue-blind)
#9C8076
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #918a23;
/* rgb */ color: rgb(145, 138, 35);
/* oklch */ color: oklch(62.1% 0.119 105.4);
Tailwind
colors: {
  custom: {
    50: '#b5ab66',
    500: '#918a23',
    950: '#000000',
  },
}
SCSS
$custom: #918a23;
$custom-light: #b5ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#918a23",
  "rgb": {
    "r": 145,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 56.182,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62094,
    "c": 0.11947,
    "h": 105.4
  },
  "luminance": 0.24318
}

Semantic roles & 50–950 ramp

primary
#918A23
secondary
#555BBB
accent
#4EE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918A23

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

Preview Lab → · Contrast checker → · Palette generator →

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