#C2B142#C2B142

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

Color values

HEX#C2B142
RGBrgb(194, 177, 66)
HSLhsl(52, 51%, 51%)
HSVhsv(52, 66%, 76%)
CMYKcmyk(0%, 8.8%, 66%, 23.9%)
CIE-LABlab(71.76, -6.89, 56.89)
CIE-LCHlch(71.76, 57.30, 96.91°)
OKLaboklab(75.42% -0.0239 0.1285)
OKLCHoklch(75.42% 0.131 100.5)
XYZxyz(38.9553, 43.3087, 11.4607)
Luminance0.4331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B142 #4253C2
analogous
#C27142 #C2B142 #93C242
triadic
#C2B142 #42C2B1 #B142C2
tetradic
#C2B142 #42C271 #4253C2 #C24293
square
#C2B142 #42C271 #4253C2 #C24293
split-complementary
#C2B142 #4293C2 #7142C2
monochromatic
#685F22 #968931 #C2B142 #D1C470 #E0D79F

Accessibility & contrast

On white

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

On black

9.66
#C2B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B142
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B142#FFFFFF#000000##000000
##C2B1421.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2b142;
/* rgb */ color: rgb(194, 177, 66);
/* oklch */ color: oklch(75.4% 0.131 100.5);
Tailwind
colors: {
  custom: {
    50: '#d8c87c',
    500: '#c2b142',
    950: '#000000',
  },
}
SCSS
$custom: #c2b142;
$custom-light: #d8c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b142",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 52.031,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75424,
    "c": 0.1307,
    "h": 100.5
  },
  "luminance": 0.43307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2B142

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

Preview Lab → · Contrast checker → · Palette generator →

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