#B29438#B29438

#B29438 is a light, moderate yellow. Relative luminance 0.309; OKLCH L 67.7% C 0.115 H 90.7°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#B29438
RGBrgb(178, 148, 56)
HSLhsl(45, 52%, 46%)
HSVhsv(45, 69%, 70%)
CMYKcmyk(0%, 16.9%, 68.5%, 30.2%)
CIE-LABlab(62.45, 1.01, 50.98)
CIE-LCHlch(62.45, 50.99, 88.86°)
OKLaboklab(67.67% -0.0015 0.1149)
OKLCHoklch(67.67% 0.115 90.7)
XYZxyz(29.6654, 30.9320, 8.1486)
Luminance0.3093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29438 #3856B2
analogous
#B25738 #B29438 #93B238
triadic
#B29438 #38B294 #9438B2
tetradic
#B29438 #38B257 #3856B2 #B23893
square
#B29438 #38B257 #3856B2 #B23893
split-complementary
#B29438 #3893B2 #5738B2
monochromatic
#55471B #836D29 #B29438 #CCB05C #DAC78A

Accessibility & contrast

On white

2.92
#B29438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#B29438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29438
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29438#FFFFFF#000000##000000
##B294381.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4922C
Deuteranopia (green-blind)
#AB9B3C
Tritanopia (blue-blind)
#C08881
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b29438;
/* rgb */ color: rgb(178, 148, 56);
/* oklch */ color: oklch(67.7% 0.115 90.7);
Tailwind
colors: {
  custom: {
    50: '#cdb373',
    500: '#b29438',
    950: '#000000',
  },
}
SCSS
$custom: #b29438;
$custom-light: #cdb373;
$custom-dark: #000000;
JSON
{
  "hex": "#b29438",
  "rgb": {
    "r": 178,
    "g": 148,
    "b": 56
  },
  "hsl": {
    "h": 45.246,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.67674,
    "c": 0.11486,
    "h": 90.7
  },
  "luminance": 0.3093
}

Semantic roles & 50–950 ramp

primary
#B29438
secondary
#8192C5
accent
#6FDC4C
background
#FDFAF7
surface
#FAF5ED
border
#D3CFC8
text
#141108
muted
#83807B

Preview Lab

Preview with #B29438

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

Preview Lab → · Contrast checker → · Palette generator →

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