#9D9123#9D9123

#9D9123 is a light, vivid yellow. Relative luminance 0.275; OKLCH L 64.8% C 0.125 H 102.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9D9123
RGBrgb(157, 145, 35)
HSLhsl(54, 64%, 38%)
HSVhsv(54, 78%, 62%)
CMYKcmyk(0%, 7.6%, 77.7%, 38.4%)
CIE-LABlab(59.47, -7.82, 55.64)
CIE-LCHlch(59.47, 56.19, 98.00°)
OKLaboklab(64.8% -0.0277 0.1216)
OKLCHoklch(64.8% 0.125 102.8)
XYZxyz(24.3345, 27.5413, 5.6240)
Luminance0.2754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9123 #232F9D
analogous
#9D5423 #9D9123 #6C9D23
triadic
#9D9123 #239D91 #91239D
tetradic
#9D9123 #239D54 #232F9D #9D236C
square
#9D9123 #239D54 #232F9D #9D236C
split-complementary
#9D9123 #236C9D #54239D
monochromatic
#39350D #6B6318 #9D9123 #CFBF2E #DBCF5F

Accessibility & contrast

On white

3.23
#9D9123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#9D9123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9123
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9123#FFFFFF#000000##000000
##9D91231.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C09
Deuteranopia (green-blind)
#A2922B
Tritanopia (blue-blind)
#A9867C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9d9123;
/* rgb */ color: rgb(157, 145, 35);
/* oklch */ color: oklch(64.8% 0.125 102.8);
Tailwind
colors: {
  custom: {
    50: '#beb067',
    500: '#9d9123',
    950: '#000000',
  },
}
SCSS
$custom: #9d9123;
$custom-light: #beb067;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9123",
  "rgb": {
    "r": 157,
    "g": 145,
    "b": 35
  },
  "hsl": {
    "h": 54.098,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64795,
    "c": 0.1247,
    "h": 102.8
  },
  "luminance": 0.2754
}

Semantic roles & 50–950 ramp

primary
#9D9123
secondary
#5C65C0
accent
#51E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D9123

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

Preview Lab → · Contrast checker → · Palette generator →

#9D9123 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva