#948A26#948A26

#948A26 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.4% C 0.117 H 103.5°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#948A26
RGBrgb(148, 138, 38)
HSLhsl(55, 59%, 36%)
HSVhsv(55, 74%, 58%)
CMYKcmyk(0%, 6.8%, 74.3%, 42%)
CIE-LABlab(56.70, -7.98, 51.66)
CIE-LCHlch(56.70, 52.27, 98.78°)
OKLaboklab(62.4% -0.0274 0.1141)
OKLCHoklch(62.4% 0.117 103.5)
XYZxyz(21.6520, 24.6137, 5.4438)
Luminance0.2461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948A26 #263094
analogous
#945326 #948A26 #679426
triadic
#948A26 #26948A #8A2694
tetradic
#948A26 #269453 #263094 #942667
square
#948A26 #269453 #263094 #942667
split-complementary
#948A26 #266794 #532694
monochromatic
#332F0D #635D19 #948A26 #C5B733 #D6CB5F

Accessibility & contrast

On white

3.55
#948A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#948A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948A26
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948A26#FFFFFF#000000##000000
##948A261.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978514
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#9F8077
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #948a26;
/* rgb */ color: rgb(148, 138, 38);
/* oklch */ color: oklch(62.4% 0.117 103.5);
Tailwind
colors: {
  custom: {
    50: '#b7ab68',
    500: '#948a26',
    950: '#000000',
  },
}
SCSS
$custom: #948a26;
$custom-light: #b7ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#948a26",
  "rgb": {
    "r": 148,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 54.545,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62397,
    "c": 0.11732,
    "h": 103.5
  },
  "luminance": 0.24613
}

Semantic roles & 50–950 ramp

primary
#948A26
secondary
#5B64BB
accent
#54E245
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #948A26

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

Preview Lab → · Contrast checker → · Palette generator →

#948A26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva