#B09A1F#B09A1F

#B09A1F is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.6% C 0.133 H 98.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#B09A1F
RGBrgb(176, 154, 31)
HSLhsl(51, 70%, 41%)
HSVhsv(51, 82%, 69%)
CMYKcmyk(0%, 12.5%, 82.4%, 31%)
CIE-LABlab(63.71, -4.23, 61.35)
CIE-LCHlch(63.71, 61.49, 93.95°)
OKLaboklab(68.57% -0.0189 0.1321)
OKLCHoklch(68.57% 0.133 98.2)
XYZxyz(29.7090, 32.4418, 5.9931)
Luminance0.3244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09A1F #1F35B0
analogous
#B0521F #B09A1F #7DB01F
triadic
#B09A1F #1FB09A #9A1FB0
tetradic
#B09A1F #1FB052 #1F35B0 #B01F7D
square
#B09A1F #1FB052 #1F35B0 #B01F7D
split-complementary
#B09A1F #1F7DB0 #521FB0
monochromatic
#483F0D #7C6C16 #B09A1F #DBC131 #E4D165

Accessibility & contrast

On white

2.80
#B09A1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#B09A1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09A1F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09A1F#FFFFFF#000000##000000
##B09A1F1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#B09E29
Tritanopia (blue-blind)
#BE8E84
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b09a1f;
/* rgb */ color: rgb(176, 154, 31);
/* oklch */ color: oklch(68.6% 0.133 98.2);
Tailwind
colors: {
  custom: {
    50: '#ccb767',
    500: '#b09a1f',
    950: '#000000',
  },
}
SCSS
$custom: #b09a1f;
$custom-light: #ccb767;
$custom-dark: #000000;
JSON
{
  "hex": "#b09a1f",
  "rgb": {
    "r": 176,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 50.897,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68572,
    "c": 0.13348,
    "h": 98.2
  },
  "luminance": 0.3244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B09A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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