#949128#949128

#949128 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.0% C 0.123 H 107.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#949128
RGBrgb(148, 145, 40)
HSLhsl(58, 57%, 37%)
HSVhsv(58, 73%, 58%)
CMYKcmyk(0%, 2%, 73%, 42%)
CIE-LABlab(58.70, -11.65, 52.83)
CIE-LCHlch(58.70, 54.10, 102.43°)
OKLaboklab(63.99% -0.0375 0.1169)
OKLCHoklch(63.99% 0.123 107.8)
XYZxyz(22.7220, 26.7007, 5.9639)
Luminance0.2670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949128 #282B94
analogous
#945B28 #949128 #619428
triadic
#949128 #289491 #912894
tetradic
#949128 #28945B #282B94 #942861
square
#949128 #28945B #282B94 #942861
split-complementary
#949128 #286194 #5B2894
monochromatic
#34330E #64621B #949128 #C4C035 #D5D162

Accessibility & contrast

On white

3.31
#949128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#949128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949128
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949128#FFFFFF#000000##000000
##9491281.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B15
Deuteranopia (green-blind)
#9F8F30
Tritanopia (blue-blind)
#9F877D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #949128;
/* rgb */ color: rgb(148, 145, 40);
/* oklch */ color: oklch(64.0% 0.123 107.8);
Tailwind
colors: {
  custom: {
    50: '#b7b16a',
    500: '#949128',
    950: '#000000',
  },
}
SCSS
$custom: #949128;
$custom-light: #b7b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#949128",
  "rgb": {
    "r": 148,
    "g": 145,
    "b": 40
  },
  "hsl": {
    "h": 58.333,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63993,
    "c": 0.1228,
    "h": 107.8
  },
  "luminance": 0.267
}

Semantic roles & 50–950 ramp

primary
#949128
secondary
#5E60BA
accent
#4BE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #949128

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

Preview Lab → · Contrast checker → · Palette generator →

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