#C2B738#C2B738

#C2B738 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.6% C 0.143 H 104.3°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#C2B738
RGBrgb(194, 183, 56)
HSLhsl(55, 55%, 49%)
HSVhsv(55, 71%, 76%)
CMYKcmyk(0%, 5.7%, 71.1%, 23.9%)
CIE-LABlab(73.30, -10.54, 62.41)
CIE-LCHlch(73.30, 63.30, 99.59°)
OKLaboklab(76.62% -0.0353 0.1385)
OKLCHoklch(76.62% 0.143 104.3)
XYZxyz(39.8971, 45.6234, 10.4452)
Luminance0.4562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B738 #3843C2
analogous
#C27238 #C2B738 #88C238
triadic
#C2B738 #38C2B7 #B738C2
tetradic
#C2B738 #38C272 #3843C2 #C23888
square
#C2B738 #38C272 #3843C2 #C23888
split-complementary
#C2B738 #3888C2 #7238C2
monochromatic
#635D1D #938A2A #C2B738 #D2CA65 #E0DA94

Accessibility & contrast

On white

2.07
#C2B738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#C2B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B738
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B738#FFFFFF#000000##000000
##C2B7381.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B123
Deuteranopia (green-blind)
#CBB741
Tritanopia (blue-blind)
#D0AA9E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c2b738;
/* rgb */ color: rgb(194, 183, 56);
/* oklch */ color: oklch(76.6% 0.143 104.3);
Tailwind
colors: {
  custom: {
    50: '#d8cc77',
    500: '#c2b738',
    950: '#000000',
  },
}
SCSS
$custom: #c2b738;
$custom-light: #d8cc77;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b738",
  "rgb": {
    "r": 194,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 55.217,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.76622,
    "c": 0.14291,
    "h": 104.3
  },
  "luminance": 0.45622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2B738

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

Preview Lab → · Contrast checker → · Palette generator →

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