#C3B142#C3B142

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

Color values

HEX#C3B142
RGBrgb(195, 177, 66)
HSLhsl(52, 52%, 51%)
HSVhsv(52, 66%, 76%)
CMYKcmyk(0%, 9.2%, 66.2%, 23.5%)
CIE-LABlab(71.85, -6.46, 57.01)
CIE-LCHlch(71.85, 57.37, 96.46°)
OKLaboklab(75.52% -0.0227 0.1287)
OKLCHoklch(75.52% 0.131 100)
XYZxyz(39.2129, 43.4415, 11.4727)
Luminance0.4344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3B142 #4254C3
analogous
#C37042 #C3B142 #94C342
triadic
#C3B142 #42C3B1 #B142C3
tetradic
#C3B142 #42C370 #4254C3 #C34294
square
#C3B142 #42C370 #4254C3 #C34294
split-complementary
#C3B142 #4294C3 #7042C3
monochromatic
#695F21 #988930 #C3B142 #D2C470 #E0D79F

Accessibility & contrast

On white

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

On black

9.69
#C3B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3B142
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3B142#FFFFFF#000000##000000
##C3B1421.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3b142;
/* rgb */ color: rgb(195, 177, 66);
/* oklch */ color: oklch(75.5% 0.131 100.0);
Tailwind
colors: {
  custom: {
    50: '#d8c87c',
    500: '#c3b142',
    950: '#000000',
  },
}
SCSS
$custom: #c3b142;
$custom-light: #d8c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#c3b142",
  "rgb": {
    "r": 195,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 51.628,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75516,
    "c": 0.13072,
    "h": 100
  },
  "luminance": 0.4344
}

Semantic roles & 50–950 ramp

primary
#C3B142
secondary
#949CCD
accent
#60DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C3B142

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

Preview Lab → · Contrast checker → · Palette generator →

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