#918D23#918D23

#918D23 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.8% C 0.122 H 107.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#918D23
RGBrgb(145, 141, 35)
HSLhsl(58, 61%, 35%)
HSVhsv(58, 76%, 57%)
CMYKcmyk(0%, 2.8%, 75.9%, 43.1%)
CIE-LABlab(57.26, -11.10, 53.20)
CIE-LCHlch(57.26, 54.35, 101.79°)
OKLaboklab(62.78% -0.0363 0.1169)
OKLCHoklch(62.78% 0.122 107.2)
XYZxyz(21.5062, 25.1916, 5.3194)
Luminance0.2519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918D23 #232791
analogous
#915623 #918D23 #5E9123
triadic
#918D23 #23918D #8D2391
tetradic
#918D23 #239156 #232791 #91235E
square
#918D23 #239156 #232791 #91235E
split-complementary
#918D23 #235E91 #562391
monochromatic
#2E2D0B #605D17 #918D23 #C2BD2F #D7D258

Accessibility & contrast

On white

3.48
#918D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#918D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918D23
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918D23#FFFFFF#000000##000000
##918D231.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870C
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#9C8379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #918d23;
/* rgb */ color: rgb(145, 141, 35);
/* oklch */ color: oklch(62.8% 0.122 107.2);
Tailwind
colors: {
  custom: {
    50: '#b5ae67',
    500: '#918d23',
    950: '#000000',
  },
}
SCSS
$custom: #918d23;
$custom-light: #b5ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#918d23",
  "rgb": {
    "r": 145,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 57.818,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62776,
    "c": 0.12238,
    "h": 107.2
  },
  "luminance": 0.25191
}

Semantic roles & 50–950 ramp

primary
#918D23
secondary
#5559BB
accent
#49E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918D23

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

Preview Lab → · Contrast checker → · Palette generator →

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