#B2A03E#B2A03E

#B2A03E is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.3% C 0.119 H 98.8°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#B2A03E
RGBrgb(178, 160, 62)
HSLhsl(51, 48%, 47%)
HSVhsv(51, 65%, 70%)
CMYKcmyk(0%, 10.1%, 65.2%, 30.2%)
CIE-LABlab(65.71, -5.10, 51.78)
CIE-LCHlch(65.71, 52.03, 95.63°)
OKLaboklab(70.27% -0.0183 0.1175)
OKLCHoklch(70.27% 0.119 98.8)
XYZxyz(31.8018, 34.9558, 9.6285)
Luminance0.3495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A03E #3E50B2
analogous
#B2663E #B2A03E #8AB23E
triadic
#B2A03E #3EB2A0 #A03EB2
tetradic
#B2A03E #3EB266 #3E50B2 #B23E8A
square
#B2A03E #3EB266 #3E50B2 #B23E8A
split-complementary
#B2A03E #3E8AB2 #663EB2
monochromatic
#574E1E #85772E #B2A03E #C9B964 #D9CE92

Accessibility & contrast

On white

2.63
#B2A03E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#B2A03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A03E
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A03E#FFFFFF#000000##000000
##B2A03E1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C32
Deuteranopia (green-blind)
#B4A243
Tritanopia (blue-blind)
#BF958B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a03e;
/* rgb */ color: rgb(178, 160, 62);
/* oklch */ color: oklch(70.3% 0.119 98.8);
Tailwind
colors: {
  custom: {
    50: '#ccbb78',
    500: '#b2a03e',
    950: '#000000',
  },
}
SCSS
$custom: #b2a03e;
$custom-light: #ccbb78;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a03e",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 62
  },
  "hsl": {
    "h": 50.69,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70271,
    "c": 0.11895,
    "h": 98.8
  },
  "luminance": 0.34954
}

Semantic roles & 50–950 ramp

primary
#B2A03E
secondary
#8891C4
accent
#65D850
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #B2A03E

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

Preview Lab → · Contrast checker → · Palette generator →

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