#B3A42F#B3A42F

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

Color values

HEX#B3A42F
RGBrgb(179, 164, 47)
HSLhsl(53, 58%, 44%)
HSVhsv(53, 74%, 70%)
CMYKcmyk(0%, 8.4%, 73.7%, 29.8%)
CIE-LABlab(66.78, -7.60, 58.96)
CIE-LCHlch(66.78, 59.45, 97.35°)
OKLaboklab(71.1% -0.0271 0.1301)
OKLCHoklch(71.1% 0.133 101.8)
XYZxyz(32.3804, 36.3413, 7.9977)
Luminance0.3634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A42F #2F3EB3
analogous
#B3622F #B3A42F #80B32F
triadic
#B3A42F #2FB3A4 #A42FB3
tetradic
#B3A42F #2FB362 #2F3EB3 #B32F80
square
#B3A42F #2FB362 #2F3EB3 #B32F80
split-complementary
#B3A42F #2F80B3 #622FB3
monochromatic
#524B16 #837822 #B3A42F #D1C24F #DDD37F

Accessibility & contrast

On white

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

On black

8.27
#B3A42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A42F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A42F#FFFFFF#000000##000000
##B3A42F1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3a42f;
/* rgb */ color: rgb(179, 164, 47);
/* oklch */ color: oklch(71.1% 0.133 101.8);
Tailwind
colors: {
  custom: {
    50: '#cdbe70',
    500: '#b3a42f',
    950: '#000000',
  },
}
SCSS
$custom: #b3a42f;
$custom-light: #cdbe70;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a42f",
  "rgb": {
    "r": 179,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 53.182,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71103,
    "c": 0.13287,
    "h": 101.8
  },
  "luminance": 0.3634
}

Semantic roles & 50–950 ramp

primary
#B3A42F
secondary
#7881C6
accent
#58E246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A42F

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

Preview Lab → · Contrast checker → · Palette generator →

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