#B3A738#B3A738

#B3A738 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.8% C 0.130 H 103.1°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#B3A738
RGBrgb(179, 167, 56)
HSLhsl(54, 52%, 46%)
HSVhsv(54, 69%, 70%)
CMYKcmyk(0%, 6.7%, 68.7%, 29.8%)
CIE-LABlab(67.66, -8.73, 56.36)
CIE-LCHlch(67.66, 57.03, 98.80°)
OKLaboklab(71.82% -0.0293 0.1262)
OKLCHoklch(71.82% 0.13 103.1)
XYZxyz(33.1243, 37.5080, 9.2356)
Luminance0.3751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A738 #3844B3
analogous
#B36938 #B3A738 #81B338
triadic
#B3A738 #38B3A7 #A738B3
tetradic
#B3A738 #38B369 #3844B3 #B33881
square
#B3A738 #38B369 #3844B3 #B33881
split-complementary
#B3A738 #3881B3 #6938B3
monochromatic
#56501B #847C29 #B3A738 #CCC15C #DBD38B

Accessibility & contrast

On white

2.47
#B3A738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#B3A738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A738
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A738#FFFFFF#000000##000000
##B3A7381.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A228
Deuteranopia (green-blind)
#BAA73F
Tritanopia (blue-blind)
#C09C91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b3a738;
/* rgb */ color: rgb(179, 167, 56);
/* oklch */ color: oklch(71.8% 0.130 103.1);
Tailwind
colors: {
  custom: {
    50: '#cdc075',
    500: '#b3a738',
    950: '#000000',
  },
}
SCSS
$custom: #b3a738;
$custom-light: #cdc075;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a738",
  "rgb": {
    "r": 179,
    "g": 167,
    "b": 56
  },
  "hsl": {
    "h": 54.146,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71819,
    "c": 0.12957,
    "h": 103.1
  },
  "luminance": 0.37507
}

Semantic roles & 50–950 ramp

primary
#B3A738
secondary
#8288C5
accent
#5ADC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3A738

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

Preview Lab → · Contrast checker → · Palette generator →

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