#C2B638#C2B638

#C2B638 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.4% C 0.142 H 103.8°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#C2B638
RGBrgb(194, 182, 56)
HSLhsl(55, 55%, 49%)
HSVhsv(55, 71%, 76%)
CMYKcmyk(0%, 6.2%, 71.1%, 23.9%)
CIE-LABlab(73.03, -10.03, 62.15)
CIE-LCHlch(73.03, 62.95, 99.17°)
OKLaboklab(76.41% -0.0339 0.1379)
OKLCHoklch(76.41% 0.142 103.8)
XYZxyz(39.6916, 45.2124, 10.3767)
Luminance0.4521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B638 #3844C2
analogous
#C27138 #C2B638 #89C238
triadic
#C2B638 #38C2B6 #B638C2
tetradic
#C2B638 #38C271 #3844C2 #C23889
square
#C2B638 #38C271 #3844C2 #C23889
split-complementary
#C2B638 #3889C2 #7138C2
monochromatic
#635D1D #93892A #C2B638 #D2C965 #E0DA94

Accessibility & contrast

On white

2.09
#C2B638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#C2B638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B638
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B638#FFFFFF#000000##000000
##C2B6381.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B023
Deuteranopia (green-blind)
#CAB640
Tritanopia (blue-blind)
#D1A99D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c2b638;
/* rgb */ color: rgb(194, 182, 56);
/* oklch */ color: oklch(76.4% 0.142 103.8);
Tailwind
colors: {
  custom: {
    50: '#d8cb77',
    500: '#c2b638',
    950: '#000000',
  },
}
SCSS
$custom: #c2b638;
$custom-light: #d8cb77;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b638",
  "rgb": {
    "r": 194,
    "g": 182,
    "b": 56
  },
  "hsl": {
    "h": 54.783,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.76408,
    "c": 0.14201,
    "h": 103.8
  },
  "luminance": 0.45211
}

Semantic roles & 50–950 ramp

primary
#C2B638
secondary
#8A90CB
accent
#56DF49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B638

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

Preview Lab → · Contrast checker → · Palette generator →

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