#999238#999238

#999238 is a light, moderate yellow. Relative luminance 0.276; OKLCH L 64.8% C 0.111 H 104.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#999238
RGBrgb(153, 146, 56)
HSLhsl(56, 46%, 41%)
HSVhsv(56, 63%, 60%)
CMYKcmyk(0%, 4.6%, 63.4%, 40%)
CIE-LABlab(59.54, -9.01, 47.18)
CIE-LCHlch(59.54, 48.03, 100.81°)
OKLaboklab(64.81% -0.0285 0.1076)
OKLCHoklch(64.81% 0.111 104.9)
XYZxyz(24.1304, 27.6164, 7.8000)
Luminance0.2762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999238 #383F99
analogous
#996138 #999238 #6F9938
triadic
#999238 #389992 #923899
tetradic
#999238 #389961 #383F99 #99386F
square
#999238 #389961 #383F99 #99386F
split-complementary
#999238 #386F99 #613899
monochromatic
#3F3C17 #6C6728 #999238 #BFB74F #CFC97C

Accessibility & contrast

On white

3.22
#999238 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#999238 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #999238
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999238#FFFFFF#000000##000000
##9992381.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D2D
Deuteranopia (green-blind)
#A1913D
Tritanopia (blue-blind)
#A4897F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #999238;
/* rgb */ color: rgb(153, 146, 56);
/* oklch */ color: oklch(64.8% 0.111 104.9);
Tailwind
colors: {
  custom: {
    50: '#bab173',
    500: '#999238',
    950: '#000000',
  },
}
SCSS
$custom: #999238;
$custom-light: #bab173;
$custom-dark: #000000;
JSON
{
  "hex": "#999238",
  "rgb": {
    "r": 153,
    "g": 146,
    "b": 56
  },
  "hsl": {
    "h": 55.67,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64811,
    "c": 0.11128,
    "h": 104.9
  },
  "luminance": 0.27616
}

Semantic roles & 50–950 ramp

primary
#999238
secondary
#7479B8
accent
#5BD652
background
#FBFAF7
surface
#F7F5ED
border
#D0CFC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #999238

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

Preview Lab → · Contrast checker → · Palette generator →

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