#C3B138#C3B138

#C3B138 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.4% C 0.138 H 100.6°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#C3B138
RGBrgb(195, 177, 56)
HSLhsl(52, 55%, 49%)
HSVhsv(52, 71%, 76%)
CMYKcmyk(0%, 9.2%, 71.3%, 23.5%)
CIE-LABlab(71.78, -7.00, 60.95)
CIE-LCHlch(71.78, 61.35, 96.55°)
OKLaboklab(75.44% -0.0254 0.1354)
OKLCHoklch(75.44% 0.138 100.6)
XYZxyz(38.9434, 43.3337, 10.0536)
Luminance0.4333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3B138 #384AC3
analogous
#C36C38 #C3B138 #90C338
triadic
#C3B138 #38C3B1 #B138C3
tetradic
#C3B138 #38C36C #384AC3 #C33890
square
#C3B138 #38C36C #384AC3 #C33890
split-complementary
#C3B138 #3890C3 #6C38C3
monochromatic
#645B1D #93862A #C3B138 #D3C565 #E1D795

Accessibility & contrast

On white

2.17
#C3B138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#C3B138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3B138
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3B138#FFFFFF#000000##000000
##C3B1381.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC25
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#D2A499
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c3b138;
/* rgb */ color: rgb(195, 177, 56);
/* oklch */ color: oklch(75.4% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#d9c876',
    500: '#c3b138',
    950: '#000000',
  },
}
SCSS
$custom: #c3b138;
$custom-light: #d9c876;
$custom-dark: #000000;
JSON
{
  "hex": "#c3b138",
  "rgb": {
    "r": 195,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 52.23,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75435,
    "c": 0.13771,
    "h": 100.6
  },
  "luminance": 0.43332
}

Semantic roles & 50–950 ramp

primary
#C3B138
secondary
#8B93CC
accent
#5CDF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C3B138

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

Preview Lab → · Contrast checker → · Palette generator →

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