#B3A23F#B3A23F

#B3A23F is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.120 H 99.5°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B3A23F
RGBrgb(179, 162, 63)
HSLhsl(51, 48%, 47%)
HSVhsv(51, 65%, 70%)
CMYKcmyk(0%, 9.5%, 64.8%, 29.8%)
CIE-LABlab(66.36, -5.67, 52.05)
CIE-LCHlch(66.36, 52.36, 96.21°)
OKLaboklab(70.8% -0.0198 0.1182)
OKLCHoklch(70.8% 0.12 99.5)
XYZxyz(32.4093, 35.7847, 9.9017)
Luminance0.3578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A23F #3F50B3
analogous
#B3683F #B3A23F #8AB33F
triadic
#B3A23F #3FB3A2 #A23FB3
tetradic
#B3A23F #3FB368 #3F50B3 #B33F8A
square
#B3A23F #3FB368 #3F50B3 #B33F8A
split-complementary
#B3A23F #3F8AB3 #683FB3
monochromatic
#58501F #86792F #B3A23F #C9BB66 #D9CF93

Accessibility & contrast

On white

2.57
#B3A23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#B3A23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A23F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A23F#FFFFFF#000000##000000
##B3A23F1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E33
Deuteranopia (green-blind)
#B6A444
Tritanopia (blue-blind)
#C0978D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a23f;
/* rgb */ color: rgb(179, 162, 63);
/* oklch */ color: oklch(70.8% 0.120 99.5);
Tailwind
colors: {
  custom: {
    50: '#cdbd79',
    500: '#b3a23f',
    950: '#000000',
  },
}
SCSS
$custom: #b3a23f;
$custom-light: #cdbd79;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a23f",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 51.207,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.70803,
    "c": 0.11989,
    "h": 99.5
  },
  "luminance": 0.35783
}

Semantic roles & 50–950 ramp

primary
#B3A23F
secondary
#8992C4
accent
#64D850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B3A23F

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

Preview Lab → · Contrast checker → · Palette generator →

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