#B7A738#B7A738

#B7A738 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.2% C 0.129 H 101.0°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#B7A738
RGBrgb(183, 167, 56)
HSLhsl(52, 53%, 47%)
HSVhsv(52, 69%, 72%)
CMYKcmyk(0%, 8.7%, 69.4%, 28.2%)
CIE-LABlab(68.01, -6.98, 56.84)
CIE-LCHlch(68.01, 57.27, 97.00°)
OKLaboklab(72.19% -0.0246 0.1271)
OKLCHoklch(72.19% 0.129 101)
XYZxyz(34.0625, 37.9917, 9.2795)
Luminance0.3799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A738 #3848B7
analogous
#B76838 #B7A738 #88B738
triadic
#B7A738 #38B7A7 #A738B7
tetradic
#B7A738 #38B768 #3848B7 #B73888
square
#B7A738 #38B768 #3848B7 #B73888
split-complementary
#B7A738 #3888B7 #6838B7
monochromatic
#59511B #887C2A #B7A738 #CEC05E #DCD28D

Accessibility & contrast

On white

2.44
#B7A738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#B7A738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A738
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A738#FFFFFF#000000##000000
##B7A7381.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A228
Deuteranopia (green-blind)
#BBA93F
Tritanopia (blue-blind)
#C59B91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b7a738;
/* rgb */ color: rgb(183, 167, 56);
/* oklch */ color: oklch(72.2% 0.129 101.0);
Tailwind
colors: {
  custom: {
    50: '#d0c075',
    500: '#b7a738',
    950: '#000000',
  },
}
SCSS
$custom: #b7a738;
$custom-light: #d0c075;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a738",
  "rgb": {
    "r": 183,
    "g": 167,
    "b": 56
  },
  "hsl": {
    "h": 52.441,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72189,
    "c": 0.12943,
    "h": 101
  },
  "luminance": 0.3799
}

Semantic roles & 50–950 ramp

primary
#B7A738
secondary
#848CC7
accent
#5EDD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A738

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

Preview Lab → · Contrast checker → · Palette generator →

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