#918C23#918C23

#918C23 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.5% C 0.121 H 106.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#918C23
RGBrgb(145, 140, 35)
HSLhsl(57, 61%, 35%)
HSVhsv(57, 76%, 57%)
CMYKcmyk(0%, 3.4%, 75.9%, 43.1%)
CIE-LABlab(56.98, -10.57, 52.93)
CIE-LCHlch(56.98, 53.98, 101.29°)
OKLaboklab(62.55% -0.0348 0.1163)
OKLCHoklch(62.55% 0.121 106.6)
XYZxyz(21.3594, 24.8980, 5.2705)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918C23 #232891
analogous
#915523 #918C23 #5F9123
triadic
#918C23 #23918C #8C2391
tetradic
#918C23 #239155 #232891 #91235F
square
#918C23 #239155 #232891 #91235F
split-complementary
#918C23 #235F91 #552391
monochromatic
#2E2D0B #605C17 #918C23 #C2BC2F #D7D158

Accessibility & contrast

On white

3.51
#918C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#918C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918C23
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918C23#FFFFFF#000000##000000
##918C231.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860D
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#9C8278
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #918c23;
/* rgb */ color: rgb(145, 140, 35);
/* oklch */ color: oklch(62.5% 0.121 106.6);
Tailwind
colors: {
  custom: {
    50: '#b5ad67',
    500: '#918c23',
    950: '#000000',
  },
}
SCSS
$custom: #918c23;
$custom-light: #b5ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#918c23",
  "rgb": {
    "r": 145,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 57.273,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62548,
    "c": 0.12139,
    "h": 106.6
  },
  "luminance": 0.24897
}

Semantic roles & 50–950 ramp

primary
#918C23
secondary
#555ABB
accent
#4BE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918C23

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

Preview Lab → · Contrast checker → · Palette generator →

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