#B2A735#B2A735

#B2A735 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.7% C 0.132 H 103.7°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B2A735
RGBrgb(178, 167, 53)
HSLhsl(55, 54%, 45%)
HSVhsv(55, 70%, 70%)
CMYKcmyk(0%, 6.2%, 70.2%, 30.2%)
CIE-LABlab(67.55, -9.32, 57.41)
CIE-LCHlch(67.55, 58.16, 99.22°)
OKLaboklab(71.7% -0.0313 0.1279)
OKLCHoklch(71.7% 0.132 103.7)
XYZxyz(32.8228, 37.3608, 8.8499)
Luminance0.3736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A735 #3540B2
analogous
#B26835 #B2A735 #7EB235
triadic
#B2A735 #35B2A7 #A735B2
tetradic
#B2A735 #35B268 #3540B2 #B2357E
square
#B2A735 #35B268 #3540B2 #B2357E
split-complementary
#B2A735 #357EB2 #6835B2
monochromatic
#544F19 #837B27 #B2A735 #CDC357 #DBD486

Accessibility & contrast

On white

2.48
#B2A735 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#B2A735 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A735
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A735#FFFFFF#000000##000000
##B2A7351.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A123
Deuteranopia (green-blind)
#B9A73C
Tritanopia (blue-blind)
#BF9B90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a735;
/* rgb */ color: rgb(178, 167, 53);
/* oklch */ color: oklch(71.7% 0.132 103.7);
Tailwind
colors: {
  custom: {
    50: '#ccc073',
    500: '#b2a735',
    950: '#000000',
  },
}
SCSS
$custom: #b2a735;
$custom-light: #ccc073;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a735",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 53
  },
  "hsl": {
    "h": 54.72,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71704,
    "c": 0.1317,
    "h": 103.7
  },
  "luminance": 0.37359
}

Semantic roles & 50–950 ramp

primary
#B2A735
secondary
#7E84C5
accent
#57DD4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A735

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

Preview Lab → · Contrast checker → · Palette generator →

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