#938028#938028

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

Color values

HEX#938028
RGBrgb(147, 128, 40)
HSLhsl(49, 57%, 37%)
HSVhsv(49, 73%, 58%)
CMYKcmyk(0%, 12.9%, 72.8%, 42.4%)
CIE-LABlab(53.81, -2.84, 48.02)
CIE-LCHlch(53.81, 48.10, 93.38°)
OKLaboklab(60.09% -0.0125 0.1068)
OKLCHoklch(60.09% 0.108 96.7)
XYZxyz(20.1358, 21.7956, 5.1534)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938028 #283B93
analogous
#934B28 #938028 #719328
triadic
#938028 #289380 #802893
tetradic
#938028 #28934B #283B93 #932871
square
#938028 #28934B #283B93 #932871
split-complementary
#938028 #287193 #4B2893
monochromatic
#332C0E #63561B #938028 #C3AA35 #D4C061

Accessibility & contrast

On white

3.92
#938028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#938028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938028
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938028#FFFFFF#000000##000000
##9380281.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1B
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#9F766E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #938028;
/* rgb */ color: rgb(147, 128, 40);
/* oklch */ color: oklch(60.1% 0.108 96.7);
Tailwind
colors: {
  custom: {
    50: '#b6a468',
    500: '#938028',
    950: '#000000',
  },
}
SCSS
$custom: #938028;
$custom-light: #b6a468;
$custom-dark: #000000;
JSON
{
  "hex": "#938028",
  "rgb": {
    "r": 147,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 49.346,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60087,
    "c": 0.10752,
    "h": 96.7
  },
  "luminance": 0.21795
}

Semantic roles & 50–950 ramp

primary
#938028
secondary
#5D6EBA
accent
#63E047
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #938028

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

Preview Lab → · Contrast checker → · Palette generator →

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