#B2A62D#B2A62D

#B2A62D is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.4% C 0.136 H 103.5°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#B2A62D
RGBrgb(178, 166, 45)
HSLhsl(55, 60%, 44%)
HSVhsv(55, 75%, 70%)
CMYKcmyk(0%, 6.7%, 74.7%, 30.2%)
CIE-LABlab(67.22, -9.19, 60.07)
CIE-LCHlch(67.22, 60.77, 98.69°)
OKLaboklab(71.43% -0.0317 0.1321)
OKLCHoklch(71.43% 0.136 103.5)
XYZxyz(32.4714, 36.9282, 7.8996)
Luminance0.3693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A62D #2D39B2
analogous
#B2632D #B2A62D #7BB22D
triadic
#B2A62D #2DB2A6 #A62DB2
tetradic
#B2A62D #2DB263 #2D39B2 #B22D7B
square
#B2A62D #2DB263 #2D39B2 #B22D7B
split-complementary
#B2A62D #2D7BB2 #632DB2
monochromatic
#504B14 #817821 #B2A62D #D1C54B #DED57C

Accessibility & contrast

On white

2.50
#B2A62D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#B2A62D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A62D
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A62D#FFFFFF#000000##000000
##B2A62D1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A015
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#C09A8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a62d;
/* rgb */ color: rgb(178, 166, 45);
/* oklch */ color: oklch(71.4% 0.136 103.5);
Tailwind
colors: {
  custom: {
    50: '#cdc06f',
    500: '#b2a62d',
    950: '#000000',
  },
}
SCSS
$custom: #b2a62d;
$custom-light: #cdc06f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a62d",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 45
  },
  "hsl": {
    "h": 54.586,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7143,
    "c": 0.13584,
    "h": 103.5
  },
  "luminance": 0.36927
}

Semantic roles & 50–950 ramp

primary
#B2A62D
secondary
#757CC6
accent
#53E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A62D

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

Preview Lab → · Contrast checker → · Palette generator →

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