#B3A02F#B3A02F

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

Color values

HEX#B3A02F
RGBrgb(179, 160, 47)
HSLhsl(51, 58%, 44%)
HSVhsv(51, 74%, 70%)
CMYKcmyk(0%, 10.6%, 73.7%, 29.8%)
CIE-LABlab(65.70, -5.48, 57.92)
CIE-LCHlch(65.70, 58.18, 95.40°)
OKLaboklab(70.24% -0.0211 0.1279)
OKLCHoklch(70.24% 0.13 99.4)
XYZxyz(31.6758, 34.9321, 7.7629)
Luminance0.3493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A02F #2F42B3
analogous
#B35E2F #B3A02F #84B32F
triadic
#B3A02F #2FB3A0 #A02FB3
tetradic
#B3A02F #2FB35E #2F42B3 #B32F84
square
#B3A02F #2FB35E #2F42B3 #B32F84
split-complementary
#B3A02F #2F84B3 #5E2FB3
monochromatic
#524916 #837522 #B3A02F #D1BE4F #DDD07F

Accessibility & contrast

On white

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

On black

7.99
#B3A02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A02F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A02F#FFFFFF#000000##000000
##B3A02F1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1B
Deuteranopia (green-blind)
#B5A336
Tritanopia (blue-blind)
#C1948A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b3a02f;
/* rgb */ color: rgb(179, 160, 47);
/* oklch */ color: oklch(70.2% 0.130 99.4);
Tailwind
colors: {
  custom: {
    50: '#cdbb70',
    500: '#b3a02f',
    950: '#000000',
  },
}
SCSS
$custom: #b3a02f;
$custom-light: #cdbb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a02f",
  "rgb": {
    "r": 179,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 51.364,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70243,
    "c": 0.12959,
    "h": 99.4
  },
  "luminance": 0.34931
}

Semantic roles & 50–950 ramp

primary
#B3A02F
secondary
#7883C6
accent
#5DE246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B3A02F

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

Preview Lab → · Contrast checker → · Palette generator →

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