#C2A338#C2A338

#C2A338 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.4% C 0.127 H 92.5°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#C2A338
RGBrgb(194, 163, 56)
HSLhsl(47, 55%, 49%)
HSVhsv(47, 71%, 76%)
CMYKcmyk(0%, 16%, 71.1%, 23.9%)
CIE-LABlab(67.98, -0.04, 57.15)
CIE-LCHlch(67.98, 57.15, 90.04°)
OKLaboklab(72.41% -0.0055 0.1273)
OKLCHoklch(72.41% 0.127 92.5)
XYZxyz(36.0611, 37.9513, 9.1666)
Luminance0.3795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A338 #3857C2
analogous
#C25E38 #C2A338 #9CC238
triadic
#C2A338 #38C2A3 #A338C2
tetradic
#C2A338 #38C25E #3857C2 #C2389C
square
#C2A338 #38C25E #3857C2 #C2389C
split-complementary
#C2A338 #389CC2 #5E38C2
monochromatic
#63531D #937B2A #C2A338 #D2BA65 #E0CF94

Accessibility & contrast

On white

2.44
#C2A338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#C2A338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A338
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A338#FFFFFF#000000##000000
##C2A3381.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A029
Deuteranopia (green-blind)
#BCA93E
Tritanopia (blue-blind)
#D2968D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c2a338;
/* rgb */ color: rgb(194, 163, 56);
/* oklch */ color: oklch(72.4% 0.127 92.5);
Tailwind
colors: {
  custom: {
    50: '#d8bd75',
    500: '#c2a338',
    950: '#000000',
  },
}
SCSS
$custom: #c2a338;
$custom-light: #d8bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a338",
  "rgb": {
    "r": 194,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 46.522,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72408,
    "c": 0.12745,
    "h": 92.5
  },
  "luminance": 0.37949
}

Semantic roles & 50–950 ramp

primary
#C2A338
secondary
#8A99CB
accent
#6BDF49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A338

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

Preview Lab → · Contrast checker → · Palette generator →

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