#C2B03B#C2B03B

#C2B03B is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.2% C 0.135 H 100.4°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#C2B03B
RGBrgb(194, 176, 59)
HSLhsl(52, 53%, 50%)
HSVhsv(52, 70%, 76%)
CMYKcmyk(0%, 9.3%, 69.6%, 23.9%)
CIE-LABlab(71.44, -6.76, 59.42)
CIE-LCHlch(71.44, 59.80, 96.49°)
OKLaboklab(75.15% -0.0243 0.1327)
OKLCHoklch(75.15% 0.135 100.4)
XYZxyz(38.5646, 42.8375, 10.3739)
Luminance0.4284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B03B #3B4DC2
analogous
#C26D3B #C2B03B #91C23B
triadic
#C2B03B #3BC2B0 #B03BC2
tetradic
#C2B03B #3BC26D #3B4DC2 #C23B91
square
#C2B03B #3BC26D #3B4DC2 #C23B91
split-complementary
#C2B03B #3B91C2 #6D3BC2
monochromatic
#645B1E #93852D #C2B03B #D1C369 #E0D698

Accessibility & contrast

On white

2.19
#C2B03B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#C2B03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B03B
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B03B#FFFFFF#000000##000000
##C2B03B1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB2A
Deuteranopia (green-blind)
#C6B242
Tritanopia (blue-blind)
#D1A398
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2b03b;
/* rgb */ color: rgb(194, 176, 59);
/* oklch */ color: oklch(75.2% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#d8c778',
    500: '#c2b03b',
    950: '#000000',
  },
}
SCSS
$custom: #c2b03b;
$custom-light: #d8c778;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b03b",
  "rgb": {
    "r": 194,
    "g": 176,
    "b": 59
  },
  "hsl": {
    "h": 52,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75154,
    "c": 0.13489,
    "h": 100.4
  },
  "luminance": 0.42836
}

Semantic roles & 50–950 ramp

primary
#C2B03B
secondary
#8E96CB
accent
#5EDD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B03B

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

Preview Lab → · Contrast checker → · Palette generator →

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