#C7CB38#C7CB38

#C7CB38 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.4% C 0.161 H 111.1°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#C7CB38
RGBrgb(199, 203, 56)
HSLhsl(62, 59%, 51%)
HSVhsv(62, 72%, 80%)
CMYKcmyk(2%, 0%, 72.4%, 20.4%)
CIE-LABlab(79.12, -18.52, 68.17)
CIE-LCHlch(79.12, 70.64, 105.20°)
OKLaboklab(81.37% -0.058 0.1505)
OKLCHoklch(81.37% 0.161 111.1)
XYZxyz(45.6245, 55.1407, 11.9805)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CB38 #3C38CB
analogous
#CB8638 #C7CB38 #7DCB38
triadic
#C7CB38 #38C7CB #CB38C7
tetradic
#C7CB38 #38CB86 #3C38CB #CB387D
square
#C7CB38 #38CB86 #3C38CB #CB387D
split-complementary
#C7CB38 #387DCB #8638CB
monochromatic
#6A6C1C #9A9D29 #C7CB38 #D5D869 #E2E499

Accessibility & contrast

On white

1.75
#C7CB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#C7CB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CB38
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CB38#FFFFFF#000000##000000
##C7CB381.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21B
Deuteranopia (green-blind)
#DCC644
Tritanopia (blue-blind)
#D5BEAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7cb38;
/* rgb */ color: rgb(199, 203, 56);
/* oklch */ color: oklch(81.4% 0.161 111.1);
Tailwind
colors: {
  custom: {
    50: '#dcda79',
    500: '#c7cb38',
    950: '#000000',
  },
}
SCSS
$custom: #c7cb38;
$custom-light: #dcda79;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cb38",
  "rgb": {
    "r": 199,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 61.633,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.81366,
    "c": 0.16124,
    "h": 111.1
  },
  "luminance": 0.5514
}

Semantic roles & 50–950 ramp

primary
#C7CB38
secondary
#333176
accent
#46E24A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CB38

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

Preview Lab → · Contrast checker → · Palette generator →

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