#B09F38#B09F38

#B09F38 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.8% C 0.123 H 99.8°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#B09F38
RGBrgb(176, 159, 56)
HSLhsl(52, 52%, 45%)
HSVhsv(52, 68%, 69%)
CMYKcmyk(0%, 9.7%, 68.2%, 31%)
CIE-LABlab(65.21, -5.81, 53.78)
CIE-LCHlch(65.21, 54.09, 96.16°)
OKLaboklab(69.81% -0.0209 0.1208)
OKLCHoklch(69.81% 0.123 99.8)
XYZxyz(31.0178, 34.3133, 8.7299)
Luminance0.3431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B09F38 #3849B0
analogous
#B06338 #B09F38 #85B038
triadic
#B09F38 #38B09F #9F38B0
tetradic
#B09F38 #38B063 #3849B0 #B03885
square
#B09F38 #38B063 #3849B0 #B03885
split-complementary
#B09F38 #3885B0 #6338B0
monochromatic
#534B1A #827529 #B09F38 #CBBB5B #D9CE89

Accessibility & contrast

On white

2.67
#B09F38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#B09F38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B09F38
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B09F38#FFFFFF#000000##000000
##B09F381.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2A
Deuteranopia (green-blind)
#B3A13E
Tritanopia (blue-blind)
#BD948A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b09f38;
/* rgb */ color: rgb(176, 159, 56);
/* oklch */ color: oklch(69.8% 0.123 99.8);
Tailwind
colors: {
  custom: {
    50: '#cbbb74',
    500: '#b09f38',
    950: '#000000',
  },
}
SCSS
$custom: #b09f38;
$custom-light: #cbbb74;
$custom-dark: #000000;
JSON
{
  "hex": "#b09f38",
  "rgb": {
    "r": 176,
    "g": 159,
    "b": 56
  },
  "hsl": {
    "h": 51.5,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69812,
    "c": 0.12263,
    "h": 99.8
  },
  "luminance": 0.34312
}

Semantic roles & 50–950 ramp

primary
#B09F38
secondary
#808AC4
accent
#61DB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #B09F38

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

Preview Lab → · Contrast checker → · Palette generator →

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