#B38F23#B38F23

#B38F23 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.6% C 0.125 H 88.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#B38F23
RGBrgb(179, 143, 35)
HSLhsl(45, 67%, 42%)
HSVhsv(45, 80%, 70%)
CMYKcmyk(0%, 20.1%, 80.4%, 29.8%)
CIE-LABlab(61.09, 3.22, 57.91)
CIE-LCHlch(61.09, 58.00, 86.81°)
OKLaboklab(66.58% 0.0024 0.1254)
OKLCHoklch(66.58% 0.125 88.9)
XYZxyz(28.7180, 29.3519, 5.7427)
Luminance0.2935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38F23 #2347B3
analogous
#B34723 #B38F23 #8FB323
triadic
#B38F23 #23B38F #8F23B3
tetradic
#B38F23 #23B347 #2347B3 #B3238F
square
#B38F23 #23B347 #2347B3 #B3238F
split-complementary
#B38F23 #238FB3 #4723B3
monochromatic
#4D3D0F #806619 #B38F23 #D9B13B #E3C56E

Accessibility & contrast

On white

3.06
#B38F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#B38F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B38F23
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38F23#FFFFFF#000000##000000
##B38F231.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E09
Deuteranopia (green-blind)
#A9982A
Tritanopia (blue-blind)
#C2827B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b38f23;
/* rgb */ color: rgb(179, 143, 35);
/* oklch */ color: oklch(66.6% 0.125 88.9);
Tailwind
colors: {
  custom: {
    50: '#ceaf68',
    500: '#b38f23',
    950: '#000000',
  },
}
SCSS
$custom: #b38f23;
$custom-light: #ceaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#b38f23",
  "rgb": {
    "r": 179,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 45,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66581,
    "c": 0.12539,
    "h": 88.9
  },
  "luminance": 0.2935
}

Semantic roles & 50–950 ramp

primary
#B38F23
secondary
#6981C9
accent
#69EA3E
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #B38F23

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

Preview Lab → · Contrast checker → · Palette generator →

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