#918123#918123

#918123 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.1% C 0.112 H 99.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#918123
RGBrgb(145, 129, 35)
HSLhsl(51, 61%, 35%)
HSVhsv(51, 76%, 57%)
CMYKcmyk(0%, 11%, 75.9%, 43.1%)
CIE-LABlab(53.86, -4.56, 49.99)
CIE-LCHlch(53.86, 50.19, 95.21°)
OKLaboklab(60.07% -0.0178 0.1101)
OKLCHoklch(60.07% 0.112 99.2)
XYZxyz(19.8317, 21.8426, 4.7612)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918123 #233391
analogous
#914A23 #918123 #6A9123
triadic
#918123 #239181 #812391
tetradic
#918123 #23914A #233391 #91236A
square
#918123 #23914A #233391 #91236A
split-complementary
#918123 #236A91 #4A2391
monochromatic
#2E290B #605517 #918123 #C2AD2F #D7C458

Accessibility & contrast

On white

3.91
#918123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#918123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918123
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918123#FFFFFF#000000##000000
##9181231.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D12
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#9D776F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #918123;
/* rgb */ color: rgb(145, 129, 35);
/* oklch */ color: oklch(60.1% 0.112 99.2);
Tailwind
colors: {
  custom: {
    50: '#b5a565',
    500: '#918123',
    950: '#000000',
  },
}
SCSS
$custom: #918123;
$custom-light: #b5a565;
$custom-dark: #000000;
JSON
{
  "hex": "#918123",
  "rgb": {
    "r": 145,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 51.273,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.6007,
    "c": 0.1115,
    "h": 99.2
  },
  "luminance": 0.21842
}

Semantic roles & 50–950 ramp

primary
#918123
secondary
#5564BB
accent
#5BE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #918123

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

Preview Lab → · Contrast checker → · Palette generator →

#918123 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva