#949226#949226

#949226 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.2% C 0.125 H 108.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#949226
RGBrgb(148, 146, 38)
HSLhsl(59, 59%, 36%)
HSVhsv(59, 74%, 58%)
CMYKcmyk(0%, 1.4%, 74.3%, 42%)
CIE-LABlab(58.97, -12.28, 53.83)
CIE-LCHlch(58.97, 55.21, 102.85°)
OKLaboklab(64.21% -0.0394 0.1187)
OKLCHoklch(64.21% 0.125 108.4)
XYZxyz(22.8423, 26.9943, 5.8405)
Luminance0.2699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949226 #262894
analogous
#945B26 #949226 #5F9426
triadic
#949226 #269492 #922694
tetradic
#949226 #26945B #262894 #94265F
square
#949226 #26945B #262894 #94265F
split-complementary
#949226 #265F94 #5B2694
monochromatic
#33320D #636219 #949226 #C5C233 #D6D45F

Accessibility & contrast

On white

3.28
#949226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#949226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949226
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949226#FFFFFF#000000##000000
##9492261.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C11
Deuteranopia (green-blind)
#A0902E
Tritanopia (blue-blind)
#9F887D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #949226;
/* rgb */ color: rgb(148, 146, 38);
/* oklch */ color: oklch(64.2% 0.125 108.4);
Tailwind
colors: {
  custom: {
    50: '#b7b169',
    500: '#949226',
    950: '#000000',
  },
}
SCSS
$custom: #949226;
$custom-light: #b7b169;
$custom-dark: #000000;
JSON
{
  "hex": "#949226",
  "rgb": {
    "r": 148,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 58.909,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64207,
    "c": 0.12505,
    "h": 108.4
  },
  "luminance": 0.26994
}

Semantic roles & 50–950 ramp

primary
#949226
secondary
#5B5DBB
accent
#48E245
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #949226

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

Preview Lab → · Contrast checker → · Palette generator →

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