#B7A23E#B7A23E

#B7A23E is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.2% C 0.121 H 97.3°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#B7A23E
RGBrgb(183, 162, 62)
HSLhsl(50, 49%, 48%)
HSVhsv(50, 66%, 72%)
CMYKcmyk(0%, 11.5%, 66.1%, 28.2%)
CIE-LABlab(66.72, -3.98, 52.98)
CIE-LCHlch(66.72, 53.13, 94.30°)
OKLaboklab(71.17% -0.0154 0.1199)
OKLCHoklch(71.17% 0.121 97.3)
XYZxyz(33.3198, 36.2573, 9.7998)
Luminance0.3626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A23E #3E53B7
analogous
#B7653E #B7A23E #8FB73E
triadic
#B7A23E #3EB7A2 #A23EB7
tetradic
#B7A23E #3EB765 #3E53B7 #B73E8F
square
#B7A23E #3EB765 #3E53B7 #B73E8F
split-complementary
#B7A23E #3E8FB7 #653EB7
monochromatic
#5C511F #897A2F #B7A23E #CBBA67 #DBCF94

Accessibility & contrast

On white

2.55
#B7A23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#B7A23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A23E
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A23E#FFFFFF#000000##000000
##B7A23E1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E32
Deuteranopia (green-blind)
#B7A543
Tritanopia (blue-blind)
#C5968D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b7a23e;
/* rgb */ color: rgb(183, 162, 62);
/* oklch */ color: oklch(71.2% 0.121 97.3);
Tailwind
colors: {
  custom: {
    50: '#d0bd78',
    500: '#b7a23e',
    950: '#000000',
  },
}
SCSS
$custom: #b7a23e;
$custom-light: #d0bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a23e",
  "rgb": {
    "r": 183,
    "g": 162,
    "b": 62
  },
  "hsl": {
    "h": 49.587,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71174,
    "c": 0.12092,
    "h": 97.3
  },
  "luminance": 0.36256
}

Semantic roles & 50–950 ramp

primary
#B7A23E
secondary
#8A95C6
accent
#67D94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A23E

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

Preview Lab → · Contrast checker → · Palette generator →

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