#C4B627#C4B627

#C4B627 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.5% C 0.151 H 103.4°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#C4B627
RGBrgb(196, 182, 39)
HSLhsl(55, 67%, 46%)
HSVhsv(55, 80%, 77%)
CMYKcmyk(0%, 7.1%, 80.1%, 23.1%)
CIE-LABlab(73.12, -9.86, 67.93)
CIE-LCHlch(73.12, 68.64, 98.26°)
OKLaboklab(76.49% -0.0351 0.147)
OKLCHoklch(76.49% 0.151 103.4)
XYZxyz(39.8610, 45.3399, 8.5709)
Luminance0.4534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B627 #2735C4
analogous
#C46727 #C4B627 #83C427
triadic
#C4B627 #27C4B6 #B627C4
tetradic
#C4B627 #27C467 #2735C4 #C42783
square
#C4B627 #27C467 #2735C4 #C42783
split-complementary
#C4B627 #2783C4 #6727C4
monochromatic
#5E5713 #91871D #C4B627 #DCCF4D #E6DD80

Accessibility & contrast

On white

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

On black

10.07
#C4B627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B627
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B627#FFFFFF#000000##000000
##C4B6271.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#CCB633
Tritanopia (blue-blind)
#D3A99C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c4b627;
/* rgb */ color: rgb(196, 182, 39);
/* oklch */ color: oklch(76.5% 0.151 103.4);
Tailwind
colors: {
  custom: {
    50: '#dacb6f',
    500: '#c4b627',
    950: '#000000',
  },
}
SCSS
$custom: #c4b627;
$custom-light: #dacb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b627",
  "rgb": {
    "r": 196,
    "g": 182,
    "b": 39
  },
  "hsl": {
    "h": 54.65,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76487,
    "c": 0.15108,
    "h": 103.4
  },
  "luminance": 0.45338
}

Semantic roles & 50–950 ramp

primary
#C4B627
secondary
#7980CE
accent
#4DEA3E
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#151308
muted
#84827B

Preview Lab

Preview with #C4B627

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

Preview Lab → · Contrast checker → · Palette generator →

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