#B3A237#B3A237

#B3A237 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.7% C 0.126 H 100.1°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B3A237
RGBrgb(179, 162, 55)
HSLhsl(52, 53%, 46%)
HSVhsv(52, 69%, 70%)
CMYKcmyk(0%, 9.5%, 69.3%, 29.8%)
CIE-LABlab(66.29, -6.14, 55.38)
CIE-LCHlch(66.29, 55.72, 96.33°)
OKLaboklab(70.73% -0.0221 0.124)
OKLCHoklch(70.73% 0.126 100.1)
XYZxyz(32.2018, 35.7017, 8.8086)
Luminance0.3570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A237 #3748B3
analogous
#B36437 #B3A237 #86B337
triadic
#B3A237 #37B3A2 #A237B3
tetradic
#B3A237 #37B364 #3748B3 #B33786
square
#B3A237 #37B364 #3748B3 #B33786
split-complementary
#B3A237 #3786B3 #6437B3
monochromatic
#554D1A #847829 #B3A237 #CDBD5B #DBD08A

Accessibility & contrast

On white

2.58
#B3A237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B3A237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A237
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A237#FFFFFF#000000##000000
##B3A2371.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D28
Deuteranopia (green-blind)
#B6A43D
Tritanopia (blue-blind)
#C1968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a237;
/* rgb */ color: rgb(179, 162, 55);
/* oklch */ color: oklch(70.7% 0.126 100.1);
Tailwind
colors: {
  custom: {
    50: '#cdbd74',
    500: '#b3a237',
    950: '#000000',
  },
}
SCSS
$custom: #b3a237;
$custom-light: #cdbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a237",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 51.774,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70732,
    "c": 0.12592,
    "h": 100.1
  },
  "luminance": 0.357
}

Semantic roles & 50–950 ramp

primary
#B3A237
secondary
#818AC5
accent
#5FDC4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3A237

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

Preview Lab → · Contrast checker → · Palette generator →

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