#938D26#938D26

#938D26 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 63.0% C 0.120 H 106.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#938D26
RGBrgb(147, 141, 38)
HSLhsl(57, 59%, 36%)
HSVhsv(57, 74%, 58%)
CMYKcmyk(0%, 4.1%, 74.1%, 42.4%)
CIE-LABlab(57.46, -10.06, 52.36)
CIE-LCHlch(57.46, 53.31, 100.87°)
OKLaboklab(62.98% -0.0331 0.1156)
OKLCHoklch(62.98% 0.12 106)
XYZxyz(21.9082, 25.3935, 5.5808)
Luminance0.2539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938D26 #262C93
analogous
#935726 #938D26 #639326
triadic
#938D26 #26938D #8D2693
tetradic
#938D26 #269357 #262C93 #932663
square
#938D26 #269357 #262C93 #932663
split-complementary
#938D26 #266393 #572693
monochromatic
#32300D #625E19 #938D26 #C4BC33 #D5CF5E

Accessibility & contrast

On white

3.45
#938D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#938D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938D26
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938D26#FFFFFF#000000##000000
##938D261.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998813
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#9E8379
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #938d26;
/* rgb */ color: rgb(147, 141, 38);
/* oklch */ color: oklch(63.0% 0.120 106.0);
Tailwind
colors: {
  custom: {
    50: '#b6ae68',
    500: '#938d26',
    950: '#000000',
  },
}
SCSS
$custom: #938d26;
$custom-light: #b6ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#938d26",
  "rgb": {
    "r": 147,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 56.697,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6298,
    "c": 0.12026,
    "h": 106
  },
  "luminance": 0.25393
}

Semantic roles & 50–950 ramp

primary
#938D26
secondary
#5A60BA
accent
#4EE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #938D26

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

Preview Lab → · Contrast checker → · Palette generator →

#938D26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva