#B09C2F#B09C2F

#B09C2F is a light, vivid yellow. Relative luminance 0.332; OKLCH L 69.1% C 0.126 H 98.5°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#B09C2F
RGBrgb(176, 156, 47)
HSLhsl(51, 58%, 44%)
HSVhsv(51, 73%, 69%)
CMYKcmyk(0%, 11.4%, 73.3%, 31%)
CIE-LABlab(64.33, -4.67, 56.51)
CIE-LCHlch(64.33, 56.70, 94.73°)
OKLaboklab(69.1% -0.0186 0.125)
OKLCHoklch(69.1% 0.126 98.5)
XYZxyz(30.3075, 33.2138, 7.5033)
Luminance0.3321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09C2F #2F43B0
analogous
#B05B2F #B09C2F #83B02F
triadic
#B09C2F #2FB09C #9C2FB0
tetradic
#B09C2F #2FB05B #2F43B0 #B02F83
square
#B09C2F #2FB05B #2F43B0 #B02F83
split-complementary
#B09C2F #2F83B0 #5B2FB0
monochromatic
#4F4615 #807122 #B09C2F #CFBB4D #DCCE7D

Accessibility & contrast

On white

2.75
#B09C2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#B09C2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09C2F
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09C2F#FFFFFF#000000##000000
##B09C2F1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981D
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#BE9087
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b09c2f;
/* rgb */ color: rgb(176, 156, 47);
/* oklch */ color: oklch(69.1% 0.126 98.5);
Tailwind
colors: {
  custom: {
    50: '#cbb86f',
    500: '#b09c2f',
    950: '#000000',
  },
}
SCSS
$custom: #b09c2f;
$custom-light: #cbb86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b09c2f",
  "rgb": {
    "r": 176,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 50.698,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69096,
    "c": 0.12637,
    "h": 98.5
  },
  "luminance": 0.33212
}

Semantic roles & 50–950 ramp

primary
#B09C2F
secondary
#7682C5
accent
#5FE147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B09C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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