#CFB742#CFB742

#CFB742 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.9% C 0.136 H 97.5°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#CFB742
RGBrgb(207, 183, 66)
HSLhsl(50, 59%, 54%)
HSVhsv(50, 68%, 81%)
CMYKcmyk(0%, 11.6%, 68.1%, 18.8%)
CIE-LABlab(74.53, -4.43, 60.12)
CIE-LCHlch(74.53, 60.28, 94.22°)
OKLaboklab(77.89% -0.0177 0.1349)
OKLCHoklch(77.89% 0.136 97.5)
XYZxyz(43.6510, 47.5279, 12.0278)
Luminance0.4753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB742 #425ACF
analogous
#CF7042 #CFB742 #A0CF42
triadic
#CFB742 #42CFB7 #B742CF
tetradic
#CFB742 #42CF70 #425ACF #CF42A0
square
#CFB742 #42CF70 #425ACF #CF42A0
split-complementary
#CFB742 #42A0CF #7042CF
monochromatic
#78691F #A9932B #CFB742 #DBCA73 #E8DCA4

Accessibility & contrast

On white

2.00
#CFB742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#CFB742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB742
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB742#FFFFFF#000000##000000
##CFB7421.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B332
Deuteranopia (green-blind)
#CFBB49
Tritanopia (blue-blind)
#DFAA9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb742;
/* rgb */ color: rgb(207, 183, 66);
/* oklch */ color: oklch(77.9% 0.136 97.5);
Tailwind
colors: {
  custom: {
    50: '#e1cc7d',
    500: '#cfb742',
    950: '#000000',
  },
}
SCSS
$custom: #cfb742;
$custom-light: #e1cc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb742",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 66
  },
  "hsl": {
    "h": 49.787,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77892,
    "c": 0.13607,
    "h": 97.5
  },
  "luminance": 0.47526
}

Semantic roles & 50–950 ramp

primary
#CFB742
secondary
#98A2D5
accent
#60E345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB742

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

Preview Lab → · Contrast checker → · Palette generator →

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