#B09D2F#B09D2F

#B09D2F is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.3% C 0.127 H 99.1°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#B09D2F
RGBrgb(176, 157, 47)
HSLhsl(51, 58%, 44%)
HSVhsv(51, 73%, 69%)
CMYKcmyk(0%, 10.8%, 73.3%, 31%)
CIE-LABlab(64.60, -5.21, 56.77)
CIE-LCHlch(64.60, 57.01, 95.24°)
OKLaboklab(69.31% -0.0202 0.1255)
OKLCHoklch(69.31% 0.127 99.1)
XYZxyz(30.4760, 33.5508, 7.5594)
Luminance0.3355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09D2F #2F42B0
analogous
#B05C2F #B09D2F #82B02F
triadic
#B09D2F #2FB09D #9D2FB0
tetradic
#B09D2F #2FB05C #2F42B0 #B02F82
square
#B09D2F #2FB05C #2F42B0 #B02F82
split-complementary
#B09D2F #2F82B0 #5C2FB0
monochromatic
#4F4715 #807222 #B09D2F #CFBC4D #DCCE7D

Accessibility & contrast

On white

2.72
#B09D2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#B09D2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09D2F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09D2F#FFFFFF#000000##000000
##B09D2F1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC991D
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#BE9187
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b09d2f;
/* rgb */ color: rgb(176, 157, 47);
/* oklch */ color: oklch(69.3% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#cbb96f',
    500: '#b09d2f',
    950: '#000000',
  },
}
SCSS
$custom: #b09d2f;
$custom-light: #cbb96f;
$custom-dark: #000000;
JSON
{
  "hex": "#b09d2f",
  "rgb": {
    "r": 176,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 51.163,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69311,
    "c": 0.12715,
    "h": 99.1
  },
  "luminance": 0.33549
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B09D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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