#B09B1F#B09B1F

#B09B1F is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.8% C 0.134 H 98.8°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#B09B1F
RGBrgb(176, 155, 31)
HSLhsl(51, 70%, 41%)
HSVhsv(51, 82%, 69%)
CMYKcmyk(0%, 11.9%, 82.4%, 31%)
CIE-LABlab(63.98, -4.77, 61.58)
CIE-LCHlch(63.98, 61.76, 94.43°)
OKLaboklab(68.79% -0.0204 0.1326)
OKLCHoklch(68.79% 0.134 98.8)
XYZxyz(29.8747, 32.7733, 6.0484)
Luminance0.3277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09B1F #1F34B0
analogous
#B0521F #B09B1F #7DB01F
triadic
#B09B1F #1FB09B #9B1FB0
tetradic
#B09B1F #1FB052 #1F34B0 #B01F7D
square
#B09B1F #1FB052 #1F34B0 #B01F7D
split-complementary
#B09B1F #1F7DB0 #521FB0
monochromatic
#483F0D #7C6D16 #B09B1F #DBC231 #E4D265

Accessibility & contrast

On white

2.78
#B09B1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#B09B1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09B1F
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09B1F#FFFFFF#000000##000000
##B09B1F1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#B19E29
Tritanopia (blue-blind)
#BE8F85
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b09b1f;
/* rgb */ color: rgb(176, 155, 31);
/* oklch */ color: oklch(68.8% 0.134 98.8);
Tailwind
colors: {
  custom: {
    50: '#ccb867',
    500: '#b09b1f',
    950: '#000000',
  },
}
SCSS
$custom: #b09b1f;
$custom-light: #ccb867;
$custom-dark: #000000;
JSON
{
  "hex": "#b09b1f",
  "rgb": {
    "r": 176,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 51.31,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68786,
    "c": 0.13421,
    "h": 98.8
  },
  "luminance": 0.32772
}

Semantic roles & 50–950 ramp

primary
#B09B1F
secondary
#6271C9
accent
#55ED3B
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #B09B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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