#C3B140#C3B140

#C3B140 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.5% C 0.132 H 100.1°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#C3B140
RGBrgb(195, 177, 64)
HSLhsl(52, 52%, 51%)
HSVhsv(52, 67%, 76%)
CMYKcmyk(0%, 9.2%, 67.2%, 23.5%)
CIE-LABlab(71.84, -6.58, 57.83)
CIE-LCHlch(71.84, 58.20, 96.49°)
OKLaboklab(75.5% -0.0233 0.1301)
OKLCHoklch(75.5% 0.132 100.1)
XYZxyz(39.1549, 43.4183, 11.1676)
Luminance0.4342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3B140 #4052C3
analogous
#C36F40 #C3B140 #93C340
triadic
#C3B140 #40C3B1 #B140C3
tetradic
#C3B140 #40C36F #4052C3 #C34093
square
#C3B140 #40C36F #4052C3 #C34093
split-complementary
#C3B140 #4093C3 #6F40C3
monochromatic
#685E21 #97882F #C3B140 #D2C46F #E0D79D

Accessibility & contrast

On white

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

On black

9.68
#C3B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3B140
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3B140#FFFFFF#000000##000000
##C3B1401.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC31
Deuteranopia (green-blind)
#C6B346
Tritanopia (blue-blind)
#D2A59A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c3b140;
/* rgb */ color: rgb(195, 177, 64);
/* oklch */ color: oklch(75.5% 0.132 100.1);
Tailwind
colors: {
  custom: {
    50: '#d8c87b',
    500: '#c3b140',
    950: '#000000',
  },
}
SCSS
$custom: #c3b140;
$custom-light: #d8c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#c3b140",
  "rgb": {
    "r": 195,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 51.756,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75499,
    "c": 0.1322,
    "h": 100.1
  },
  "luminance": 0.43417
}

Semantic roles & 50–950 ramp

primary
#C3B140
secondary
#929ACC
accent
#60DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C3B140

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

Preview Lab → · Contrast checker → · Palette generator →

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