#B3A62A#B3A62A

#B3A62A is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.5% C 0.137 H 103.1°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B3A62A
RGBrgb(179, 166, 42)
HSLhsl(54, 62%, 43%)
HSVhsv(54, 77%, 70%)
CMYKcmyk(0%, 7.3%, 76.5%, 29.8%)
CIE-LABlab(67.30, -8.87, 61.20)
CIE-LCHlch(67.30, 61.84, 98.25°)
OKLaboklab(71.5% -0.0312 0.1339)
OKLCHoklch(71.5% 0.137 103.1)
XYZxyz(32.6460, 37.0247, 7.6169)
Luminance0.3702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A62A #2A37B3
analogous
#B3622A #B3A62A #7BB32A
triadic
#B3A62A #2AB3A6 #A62AB3
tetradic
#B3A62A #2AB362 #2A37B3 #B32A7B
square
#B3A62A #2AB362 #2A37B3 #B32A7B
split-complementary
#B3A62A #2A7BB3 #622AB3
monochromatic
#504A13 #81781E #B3A62A #D4C646 #DFD678

Accessibility & contrast

On white

2.50
#B3A62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B3A62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A62A
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A62A#FFFFFF#000000##000000
##B3A62A1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A00E
Deuteranopia (green-blind)
#BAA633
Tritanopia (blue-blind)
#C19A8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b3a62a;
/* rgb */ color: rgb(179, 166, 42);
/* oklch */ color: oklch(71.5% 0.137 103.1);
Tailwind
colors: {
  custom: {
    50: '#cec06e',
    500: '#b3a62a',
    950: '#000000',
  },
}
SCSS
$custom: #b3a62a;
$custom-light: #cec06e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a62a",
  "rgb": {
    "r": 179,
    "g": 166,
    "b": 42
  },
  "hsl": {
    "h": 54.307,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71504,
    "c": 0.13745,
    "h": 103.1
  },
  "luminance": 0.37023
}

Semantic roles & 50–950 ramp

primary
#B3A62A
secondary
#727AC7
accent
#52E543
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A62A

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

Preview Lab → · Contrast checker → · Palette generator →

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