#B3A42C#B3A42C

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

Color values

HEX#B3A42C
RGBrgb(179, 164, 44)
HSLhsl(53, 61%, 44%)
HSVhsv(53, 75%, 70%)
CMYKcmyk(0%, 8.4%, 75.4%, 29.8%)
CIE-LABlab(66.76, -7.74, 60.02)
CIE-LCHlch(66.76, 60.52, 97.34°)
OKLaboklab(71.08% -0.0278 0.1317)
OKLCHoklch(71.08% 0.135 101.9)
XYZxyz(32.3220, 36.3179, 7.6899)
Luminance0.3632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A42C #2C3BB3
analogous
#B3602C #B3A42C #7EB32C
triadic
#B3A42C #2CB3A4 #A42CB3
tetradic
#B3A42C #2CB360 #2C3BB3 #B32C7E
square
#B3A42C #2CB360 #2C3BB3 #B32C7E
split-complementary
#B3A42C #2C7EB3 #602CB3
monochromatic
#514A14 #827720 #B3A42C #D2C34A #DFD37B

Accessibility & contrast

On white

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

On black

8.26
#B3A42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A42C
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A42C#FFFFFF#000000##000000
##B3A42C1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3a42c;
/* rgb */ color: rgb(179, 164, 44);
/* oklch */ color: oklch(71.1% 0.135 101.9);
Tailwind
colors: {
  custom: {
    50: '#cebe6e',
    500: '#b3a42c',
    950: '#000000',
  },
}
SCSS
$custom: #b3a42c;
$custom-light: #cebe6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a42c",
  "rgb": {
    "r": 179,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 53.333,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71083,
    "c": 0.13464,
    "h": 101.9
  },
  "luminance": 0.36316
}

Semantic roles & 50–950 ramp

primary
#B3A42C
secondary
#747DC7
accent
#56E444
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A42C

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

Preview Lab → · Contrast checker → · Palette generator →

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