#B3A238#B3A238

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

Color values

HEX#B3A238
RGBrgb(179, 162, 56)
HSLhsl(52, 52%, 46%)
HSVhsv(52, 69%, 70%)
CMYKcmyk(0%, 9.5%, 68.7%, 29.8%)
CIE-LABlab(66.30, -6.08, 54.98)
CIE-LCHlch(66.30, 55.32, 96.31°)
OKLaboklab(70.74% -0.0218 0.1233)
OKLCHoklch(70.74% 0.125 100)
XYZxyz(32.2260, 35.7114, 8.9361)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A238 #3849B3
analogous
#B36438 #B3A238 #86B338
triadic
#B3A238 #38B3A2 #A238B3
tetradic
#B3A238 #38B364 #3849B3 #B33886
square
#B3A238 #38B364 #3849B3 #B33886
split-complementary
#B3A238 #3886B3 #6438B3
monochromatic
#564E1B #847829 #B3A238 #CCBD5C #DBD08B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3A238#FFFFFF#000000##000000
##B3A2381.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)
#B19E29
Deuteranopia (green-blind)
#B6A43E
Tritanopia (blue-blind)
#C1968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a238;
/* rgb */ color: rgb(179, 162, 56);
/* oklch */ color: oklch(70.7% 0.125 100.0);
Tailwind
colors: {
  custom: {
    50: '#cdbd75',
    500: '#b3a238',
    950: '#000000',
  },
}
SCSS
$custom: #b3a238;
$custom-light: #cdbd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a238",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 51.707,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70741,
    "c": 0.1252,
    "h": 100
  },
  "luminance": 0.3571
}

Semantic roles & 50–950 ramp

primary
#B3A238
secondary
#828BC5
accent
#60DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3A238

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

Preview Lab → · Contrast checker → · Palette generator →

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