#B3A42E#B3A42E

#B3A42E is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.1% C 0.133 H 101.8°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B3A42E
RGBrgb(179, 164, 46)
HSLhsl(53, 59%, 44%)
HSVhsv(53, 74%, 70%)
CMYKcmyk(0%, 8.4%, 74.3%, 29.8%)
CIE-LABlab(66.77, -7.65, 59.32)
CIE-LCHlch(66.77, 59.81, 97.35°)
OKLaboklab(71.1% -0.0273 0.1306)
OKLCHoklch(71.1% 0.133 101.8)
XYZxyz(32.3605, 36.3333, 7.8927)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A42E #2E3DB3
analogous
#B3622E #B3A42E #80B32E
triadic
#B3A42E #2EB3A4 #A42EB3
tetradic
#B3A42E #2EB362 #2E3DB3 #B32E80
square
#B3A42E #2EB362 #2E3DB3 #B32E80
split-complementary
#B3A42E #2E80B3 #622EB3
monochromatic
#524B15 #827721 #B3A42E #D1C24D #DED37E

Accessibility & contrast

On white

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

On black

8.27
#B3A42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A42E
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A42E#FFFFFF#000000##000000
##B3A42E1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F18
Deuteranopia (green-blind)
#B8A536
Tritanopia (blue-blind)
#C1988D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b3a42e;
/* rgb */ color: rgb(179, 164, 46);
/* oklch */ color: oklch(71.1% 0.133 101.8);
Tailwind
colors: {
  custom: {
    50: '#cdbe6f',
    500: '#b3a42e',
    950: '#000000',
  },
}
SCSS
$custom: #b3a42e;
$custom-light: #cdbe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a42e",
  "rgb": {
    "r": 179,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 53.233,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71096,
    "c": 0.13347,
    "h": 101.8
  },
  "luminance": 0.36332
}

Semantic roles & 50–950 ramp

primary
#B3A42E
secondary
#767FC6
accent
#57E246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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