#949E2F#949E2F

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

Color values

HEX#949E2F
RGBrgb(148, 158, 47)
HSLhsl(65, 54%, 40%)
HSVhsv(65, 70%, 62%)
CMYKcmyk(6.3%, 0%, 70.3%, 38%)
CIE-LABlab(62.47, -18.07, 53.86)
CIE-LCHlch(62.47, 56.81, 108.55°)
OKLaboklab(67.03% -0.0547 0.1204)
OKLCHoklch(67.03% 0.132 114.5)
XYZxyz(24.9534, 30.9553, 7.3492)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949E2F #392F9E
analogous
#9E702F #949E2F #5D9E2F
triadic
#949E2F #2F949E #9E2F94
tetradic
#949E2F #2F9E70 #392F9E #9E2F5D
square
#949E2F #2F9E70 #392F9E #9E2F5D
split-complementary
#949E2F #2F5D9E #702F9E
monochromatic
#3C4013 #686F21 #949E2F #BBC743 #CCD572

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949E2F#FFFFFF#000000##000000
##949E2F1.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)
#A9961D
Deuteranopia (green-blind)
#A99837
Tritanopia (blue-blind)
#9E9588
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #949e2f;
/* rgb */ color: rgb(148, 158, 47);
/* oklch */ color: oklch(67.0% 0.132 114.5);
Tailwind
colors: {
  custom: {
    50: '#b6ba6f',
    500: '#949e2f',
    950: '#000000',
  },
}
SCSS
$custom: #949e2f;
$custom-light: #b6ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#949e2f",
  "rgb": {
    "r": 148,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 65.405,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67026,
    "c": 0.13221,
    "h": 114.5
  },
  "luminance": 0.30955
}

Semantic roles & 50–950 ramp

primary
#949E2F
secondary
#736CBD
accent
#4ADE58
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #949E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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