#B3A438#B3A438

#B3A438 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.127 H 101.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B3A438
RGBrgb(179, 164, 56)
HSLhsl(53, 52%, 46%)
HSVhsv(53, 69%, 70%)
CMYKcmyk(0%, 8.4%, 68.7%, 29.8%)
CIE-LABlab(66.84, -7.14, 55.53)
CIE-LCHlch(66.84, 55.99, 97.33°)
OKLaboklab(71.17% -0.0248 0.1245)
OKLCHoklch(71.17% 0.127 101.3)
XYZxyz(32.5811, 36.4216, 9.0545)
Luminance0.3642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A438 #3847B3
analogous
#B36638 #B3A438 #84B338
triadic
#B3A438 #38B3A4 #A438B3
tetradic
#B3A438 #38B366 #3847B3 #B33884
square
#B3A438 #38B366 #3847B3 #B33884
split-complementary
#B3A438 #3884B3 #6638B3
monochromatic
#564F1B #847929 #B3A438 #CCBE5C #DBD18B

Accessibility & contrast

On white

2.54
#B3A438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B3A438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A438
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A438#FFFFFF#000000##000000
##B3A4381.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F29
Deuteranopia (green-blind)
#B7A53E
Tritanopia (blue-blind)
#C1988E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b3a438;
/* rgb */ color: rgb(179, 164, 56);
/* oklch */ color: oklch(71.2% 0.127 101.3);
Tailwind
colors: {
  custom: {
    50: '#cdbe75',
    500: '#b3a438',
    950: '#000000',
  },
}
SCSS
$custom: #b3a438;
$custom-light: #cdbe75;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a438",
  "rgb": {
    "r": 179,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 52.683,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71171,
    "c": 0.12691,
    "h": 101.3
  },
  "luminance": 0.3642
}

Semantic roles & 50–950 ramp

primary
#B3A438
secondary
#828AC5
accent
#5EDC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3A438

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

Preview Lab → · Contrast checker → · Palette generator →

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