#949E2D#949E2D

#949E2D is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.0% C 0.134 H 114.4°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#949E2D
RGBrgb(148, 158, 45)
HSLhsl(65, 56%, 40%)
HSVhsv(65, 72%, 62%)
CMYKcmyk(6.3%, 0%, 71.5%, 38%)
CIE-LABlab(62.46, -18.18, 54.61)
CIE-LCHlch(62.46, 57.56, 108.42°)
OKLaboklab(67.01% -0.0552 0.1216)
OKLCHoklch(67.01% 0.134 114.4)
XYZxyz(24.9139, 30.9395, 7.1416)
Luminance0.3094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949E2D #372D9E
analogous
#9E702D #949E2D #5B9E2D
triadic
#949E2D #2D949E #9E2D94
tetradic
#949E2D #2D9E70 #372D9E #9E2D5B
square
#949E2D #2D9E70 #372D9E #9E2D5B
split-complementary
#949E2D #2D5B9E #702D9E
monochromatic
#3B3F12 #676E1F #949E2D #BCC940 #CDD66F

Accessibility & contrast

On white

2.92
#949E2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#949E2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949E2D
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949E2D#FFFFFF#000000##000000
##949E2D1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9619
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#9E9588
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #949e2d;
/* rgb */ color: rgb(148, 158, 45);
/* oklch */ color: oklch(67.0% 0.134 114.4);
Tailwind
colors: {
  custom: {
    50: '#b6ba6e',
    500: '#949e2d',
    950: '#000000',
  },
}
SCSS
$custom: #949e2d;
$custom-light: #b6ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#949e2d",
  "rgb": {
    "r": 148,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 65.31,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67011,
    "c": 0.13355,
    "h": 114.4
  },
  "luminance": 0.30939
}

Semantic roles & 50–950 ramp

primary
#949E2D
secondary
#7169BD
accent
#49DF56
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #949E2D

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

Preview Lab → · Contrast checker → · Palette generator →

#949E2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva