#B3A235#B3A235

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

Color values

HEX#B3A235
RGBrgb(179, 162, 53)
HSLhsl(52, 54%, 45%)
HSVhsv(52, 70%, 70%)
CMYKcmyk(0%, 9.5%, 70.4%, 29.8%)
CIE-LABlab(66.28, -6.25, 56.17)
CIE-LCHlch(66.28, 56.52, 96.35°)
OKLaboklab(70.72% -0.0226 0.1253)
OKLCHoklch(70.72% 0.127 100.2)
XYZxyz(32.1548, 35.6829, 8.5612)
Luminance0.3568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A235 #3546B3
analogous
#B36335 #B3A235 #85B335
triadic
#B3A235 #35B3A2 #A235B3
tetradic
#B3A235 #35B363 #3546B3 #B33585
square
#B3A235 #35B363 #3546B3 #B33585
split-complementary
#B3A235 #3585B3 #6335B3
monochromatic
#554D19 #847727 #B3A235 #CDBE58 #DBD087

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3A235#FFFFFF#000000##000000
##B3A2351.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)
#B19D25
Deuteranopia (green-blind)
#B6A43C
Tritanopia (blue-blind)
#C1968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a235;
/* rgb */ color: rgb(179, 162, 53);
/* oklch */ color: oklch(70.7% 0.127 100.2);
Tailwind
colors: {
  custom: {
    50: '#cdbd73',
    500: '#b3a235',
    950: '#000000',
  },
}
SCSS
$custom: #b3a235;
$custom-light: #cdbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a235",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 51.905,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70716,
    "c": 0.12731,
    "h": 100.2
  },
  "luminance": 0.35681
}

Semantic roles & 50–950 ramp

primary
#B3A235
secondary
#7F88C5
accent
#5EDE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A235

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

Preview Lab → · Contrast checker → · Palette generator →

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