#B3A538#B3A538

#B3A538 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.4% C 0.128 H 101.9°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#B3A538
RGBrgb(179, 165, 56)
HSLhsl(53, 52%, 46%)
HSVhsv(53, 69%, 70%)
CMYKcmyk(0%, 7.8%, 68.7%, 29.8%)
CIE-LABlab(67.11, -7.67, 55.81)
CIE-LCHlch(67.11, 56.33, 97.83°)
OKLaboklab(71.39% -0.0263 0.125)
OKLCHoklch(71.39% 0.128 101.9)
XYZxyz(32.7607, 36.7809, 9.1144)
Luminance0.3678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A538 #3846B3
analogous
#B36738 #B3A538 #83B338
triadic
#B3A538 #38B3A5 #A538B3
tetradic
#B3A538 #38B367 #3846B3 #B33883
square
#B3A538 #38B367 #3846B3 #B33883
split-complementary
#B3A538 #3883B3 #6738B3
monochromatic
#564F1B #847A29 #B3A538 #CCBF5C #DBD28B

Accessibility & contrast

On white

2.51
#B3A538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#B3A538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A538
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A538#FFFFFF#000000##000000
##B3A5381.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A029
Deuteranopia (green-blind)
#B8A63F
Tritanopia (blue-blind)
#C0998F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b3a538;
/* rgb */ color: rgb(179, 165, 56);
/* oklch */ color: oklch(71.4% 0.128 101.9);
Tailwind
colors: {
  custom: {
    50: '#cdbf75',
    500: '#b3a538',
    950: '#000000',
  },
}
SCSS
$custom: #b3a538;
$custom-light: #cdbf75;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a538",
  "rgb": {
    "r": 179,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 53.171,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71386,
    "c": 0.12778,
    "h": 101.9
  },
  "luminance": 0.36779
}

Semantic roles & 50–950 ramp

primary
#B3A538
secondary
#8289C5
accent
#5CDC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3A538

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

Preview Lab → · Contrast checker → · Palette generator →

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