#B3A02C#B3A02C

#B3A02C is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.131 H 99.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#B3A02C
RGBrgb(179, 160, 44)
HSLhsl(52, 61%, 44%)
HSVhsv(52, 75%, 70%)
CMYKcmyk(0%, 10.6%, 75.4%, 29.8%)
CIE-LABlab(65.68, -5.61, 59.00)
CIE-LCHlch(65.68, 59.27, 95.44°)
OKLaboklab(70.22% -0.0218 0.1296)
OKLCHoklch(70.22% 0.131 99.6)
XYZxyz(31.6174, 34.9087, 7.4550)
Luminance0.3491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A02C #2C3FB3
analogous
#B35C2C #B3A02C #82B32C
triadic
#B3A02C #2CB3A0 #A02CB3
tetradic
#B3A02C #2CB35C #2C3FB3 #B32C82
square
#B3A02C #2CB35C #2C3FB3 #B32C82
split-complementary
#B3A02C #2C82B3 #5C2CB3
monochromatic
#514814 #827420 #B3A02C #D2BF4A #DFD07B

Accessibility & contrast

On white

2.63
#B3A02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#B3A02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A02C
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A02C#FFFFFF#000000##000000
##B3A02C1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C16
Deuteranopia (green-blind)
#B5A334
Tritanopia (blue-blind)
#C1948A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b3a02c;
/* rgb */ color: rgb(179, 160, 44);
/* oklch */ color: oklch(70.2% 0.131 99.6);
Tailwind
colors: {
  custom: {
    50: '#cebb6e',
    500: '#b3a02c',
    950: '#000000',
  },
}
SCSS
$custom: #b3a02c;
$custom-light: #cebb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a02c",
  "rgb": {
    "r": 179,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 51.556,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70222,
    "c": 0.13139,
    "h": 99.6
  },
  "luminance": 0.34907
}

Semantic roles & 50–950 ramp

primary
#B3A02C
secondary
#7480C7
accent
#5BE444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B3A02C

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

Preview Lab → · Contrast checker → · Palette generator →

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