#949138#949138

#949138 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.1% C 0.111 H 107.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#949138
RGBrgb(148, 145, 56)
HSLhsl(58, 45%, 40%)
HSVhsv(58, 62%, 58%)
CMYKcmyk(0%, 2%, 62.2%, 42%)
CIE-LABlab(58.82, -10.68, 46.27)
CIE-LCHlch(58.82, 47.49, 103.00°)
OKLaboklab(64.13% -0.033 0.1058)
OKLCHoklch(64.13% 0.111 107.3)
XYZxyz(23.0527, 26.8329, 7.7056)
Luminance0.2683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949138 #383B94
analogous
#946338 #949138 #699438
triadic
#949138 #389491 #913894
tetradic
#949138 #389463 #383B94 #943869
square
#949138 #389463 #383B94 #943869
split-complementary
#949138 #386994 #633894
monochromatic
#3B3A16 #686527 #949138 #BCB84D #CDCA7A

Accessibility & contrast

On white

3.30
#949138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#949138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949138
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949138#FFFFFF#000000##000000
##9491381.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C2E
Deuteranopia (green-blind)
#9E8F3D
Tritanopia (blue-blind)
#9E887E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #949138;
/* rgb */ color: rgb(148, 145, 56);
/* oklch */ color: oklch(64.1% 0.111 107.3);
Tailwind
colors: {
  custom: {
    50: '#b6b173',
    500: '#949138',
    950: '#000000',
  },
}
SCSS
$custom: #949138;
$custom-light: #b6b173;
$custom-dark: #000000;
JSON
{
  "hex": "#949138",
  "rgb": {
    "r": 148,
    "g": 145,
    "b": 56
  },
  "hsl": {
    "h": 58.043,
    "s": 45.098,
    "l": 40
  },
  "oklch": {
    "l": 0.64131,
    "c": 0.1108,
    "h": 107.3
  },
  "luminance": 0.26832
}

Semantic roles & 50–950 ramp

primary
#949138
secondary
#7274B6
accent
#57D553
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #949138

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

Preview Lab → · Contrast checker → · Palette generator →

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