#B3AE2A#B3AE2A

#B3AE2A is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.2% C 0.145 H 107.2°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#B3AE2A
RGBrgb(179, 174, 42)
HSLhsl(58, 62%, 43%)
HSVhsv(58, 77%, 70%)
CMYKcmyk(0%, 2.8%, 76.5%, 29.8%)
CIE-LABlab(69.49, -13.03, 63.22)
CIE-LCHlch(69.49, 64.55, 101.65°)
OKLaboklab(73.25% -0.0428 0.1382)
OKLCHoklch(73.25% 0.145 107.2)
XYZxyz(34.1458, 40.0242, 8.1168)
Luminance0.4002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AE2A #2A2FB3
analogous
#B3692A #B3AE2A #73B32A
triadic
#B3AE2A #2AB3AE #AE2AB3
tetradic
#B3AE2A #2AB369 #2A2FB3 #B32A73
square
#B3AE2A #2AB369 #2A2FB3 #B32A73
split-complementary
#B3AE2A #2A73B3 #692AB3
monochromatic
#504E13 #817E1E #B3AE2A #D4CF46 #DFDC78

Accessibility & contrast

On white

2.33
#B3AE2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#B3AE2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AE2A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AE2A#FFFFFF#000000##000000
##B3AE2A1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA707
Deuteranopia (green-blind)
#C0AC35
Tritanopia (blue-blind)
#C0A295
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b3ae2a;
/* rgb */ color: rgb(179, 174, 42);
/* oklch */ color: oklch(73.2% 0.145 107.2);
Tailwind
colors: {
  custom: {
    50: '#cec56f',
    500: '#b3ae2a',
    950: '#000000',
  },
}
SCSS
$custom: #b3ae2a;
$custom-light: #cec56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ae2a",
  "rgb": {
    "r": 179,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 57.81,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73249,
    "c": 0.14465,
    "h": 107.2
  },
  "luminance": 0.40023
}

Semantic roles & 50–950 ramp

primary
#B3AE2A
secondary
#7275C7
accent
#49E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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