#B2A62F#B2A62F

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

Color values

HEX#B2A62F
RGBrgb(178, 166, 47)
HSLhsl(55, 58%, 44%)
HSVhsv(55, 74%, 70%)
CMYKcmyk(0%, 6.7%, 73.6%, 30.2%)
CIE-LABlab(67.23, -9.10, 59.37)
CIE-LCHlch(67.23, 60.06, 98.71°)
OKLaboklab(71.44% -0.0313 0.131)
OKLCHoklch(71.44% 0.135 103.4)
XYZxyz(32.5108, 36.9440, 8.1072)
Luminance0.3694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A62F #2F3BB2
analogous
#B2652F #B2A62F #7DB22F
triadic
#B2A62F #2FB2A6 #A62FB2
tetradic
#B2A62F #2FB265 #2F3BB2 #B22F7D
square
#B2A62F #2FB265 #2F3BB2 #B22F7D
split-complementary
#B2A62F #2F7DB2 #652FB2
monochromatic
#514C15 #827922 #B2A62F #D0C44E #DDD47E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A62F#FFFFFF#000000##000000
##B2A62F1.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)
#B5A019
Deuteranopia (green-blind)
#B9A637
Tritanopia (blue-blind)
#C09A8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a62f;
/* rgb */ color: rgb(178, 166, 47);
/* oklch */ color: oklch(71.4% 0.135 103.4);
Tailwind
colors: {
  custom: {
    50: '#cdc070',
    500: '#b2a62f',
    950: '#000000',
  },
}
SCSS
$custom: #b2a62f;
$custom-light: #cdc070;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a62f",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 54.504,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71443,
    "c": 0.13465,
    "h": 103.4
  },
  "luminance": 0.36943
}

Semantic roles & 50–950 ramp

primary
#B2A62F
secondary
#777EC6
accent
#55E146
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A62F

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

Preview Lab → · Contrast checker → · Palette generator →

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