#C2B13F#C2B13F

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

Color values

HEX#C2B13F
RGBrgb(194, 177, 63)
HSLhsl(52, 52%, 50%)
HSVhsv(52, 68%, 76%)
CMYKcmyk(0%, 8.8%, 67.5%, 23.9%)
CIE-LABlab(71.74, -7.06, 58.11)
CIE-LCHlch(71.74, 58.54, 96.93°)
OKLaboklab(75.4% -0.0247 0.1306)
OKLCHoklch(75.4% 0.133 100.7)
XYZxyz(38.8692, 43.2742, 11.0070)
Luminance0.4327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B13F #3F50C2
analogous
#C2703F #C2B13F #91C23F
triadic
#C2B13F #3FC2B1 #B13FC2
tetradic
#C2B13F #3FC270 #3F50C2 #C23F91
square
#C2B13F #3FC270 #3F50C2 #C23F91
split-complementary
#C2B13F #3F91C2 #703FC2
monochromatic
#665D20 #95872F #C2B13F #D1C46D #E0D79C

Accessibility & contrast

On white

2.18
#C2B13F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#C2B13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B13F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B13F#FFFFFF#000000##000000
##C2B13F1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2b13f;
/* rgb */ color: rgb(194, 177, 63);
/* oklch */ color: oklch(75.4% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#d8c87a',
    500: '#c2b13f',
    950: '#000000',
  },
}
SCSS
$custom: #c2b13f;
$custom-light: #d8c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b13f",
  "rgb": {
    "r": 194,
    "g": 177,
    "b": 63
  },
  "hsl": {
    "h": 52.214,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75398,
    "c": 0.13292,
    "h": 100.7
  },
  "luminance": 0.43272
}

Semantic roles & 50–950 ramp

primary
#C2B13F
secondary
#9199CC
accent
#5FDB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2B13F

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

Preview Lab → · Contrast checker → · Palette generator →

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