#B3A838#B3A838

#B3A838 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.0% C 0.130 H 103.7°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#B3A838
RGBrgb(179, 168, 56)
HSLhsl(55, 52%, 46%)
HSVhsv(55, 69%, 70%)
CMYKcmyk(0%, 6.1%, 68.7%, 29.8%)
CIE-LABlab(67.93, -9.25, 56.64)
CIE-LCHlch(67.93, 57.39, 99.28°)
OKLaboklab(72.04% -0.0308 0.1268)
OKLCHoklch(72.04% 0.13 103.7)
XYZxyz(33.3082, 37.8758, 9.2969)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A838 #3843B3
analogous
#B36A38 #B3A838 #80B338
triadic
#B3A838 #38B3A8 #A838B3
tetradic
#B3A838 #38B36A #3843B3 #B33880
square
#B3A838 #38B36A #3843B3 #B33880
split-complementary
#B3A838 #3880B3 #6A38B3
monochromatic
#56501B #847C29 #B3A838 #CCC25C #DBD38B

Accessibility & contrast

On white

2.45
#B3A838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#B3A838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A838
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A838#FFFFFF#000000##000000
##B3A8381.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A228
Deuteranopia (green-blind)
#BAA83F
Tritanopia (blue-blind)
#C09D91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b3a838;
/* rgb */ color: rgb(179, 168, 56);
/* oklch */ color: oklch(72.0% 0.130 103.7);
Tailwind
colors: {
  custom: {
    50: '#cdc175',
    500: '#b3a838',
    950: '#000000',
  },
}
SCSS
$custom: #b3a838;
$custom-light: #cdc175;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a838",
  "rgb": {
    "r": 179,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 54.634,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72035,
    "c": 0.13047,
    "h": 103.7
  },
  "luminance": 0.37874
}

Semantic roles & 50–950 ramp

primary
#B3A838
secondary
#8288C5
accent
#59DC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3A838

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

Preview Lab → · Contrast checker → · Palette generator →

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